From: Petr Viktorin Date: Fri, 21 Jun 2019 11:52:04 +0000 (+0200) Subject: Fix ReST syntax X-Git-Tag: v6.1.0b1~69^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05a42e605f139ef354449c371019a5a99ed44e67;p=thirdparty%2Ftornado.git Fix ReST syntax --- diff --git a/tornado/gen.py b/tornado/gen.py index 33cc887e5..daed58ae1 100644 --- a/tornado/gen.py +++ b/tornado/gen.py @@ -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