]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix ReST syntax 2681/head
authorPetr Viktorin <encukou@gmail.com>
Fri, 21 Jun 2019 11:52:04 +0000 (13:52 +0200)
committerPetr Viktorin <encukou@gmail.com>
Fri, 21 Jun 2019 11:52:04 +0000 (13:52 +0200)
tornado/gen.py

index 33cc887e5220e51d3547ddec562f26127c658515..daed58ae1f9fd0048746cf9792ae0a6ba0083956 100644 (file)
@@ -559,7 +559,7 @@ def with_timeout(
     If the wrapped `.Future` fails after it has timed out, the exception
     will be logged unless it is either of a type contained in
     ``quiet_exceptions`` (which may be an exception type or a sequence of
-    types), or a `CancelledError`.
+    types), or a ``CancelledError``.
 
     The wrapped `.Future` is not canceled when the timeout expires,
     permitting it to be reused. `asyncio.wait_for` is similar to this