From: Petr Viktorin Date: Fri, 21 Jun 2019 11:52:04 +0000 (+0200) Subject: Fix ReST syntax X-Git-Tag: v6.0.3^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b16a6f3c0e6c807d7509047cfb7560b9930669c;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