From 05a42e605f139ef354449c371019a5a99ed44e67 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Fri, 21 Jun 2019 13:52:04 +0200 Subject: [PATCH] Fix ReST syntax --- tornado/gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2