]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Sync with asyncio
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Mon, 11 Jan 2016 10:25:23 +0000 (12:25 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Mon, 11 Jan 2016 10:25:23 +0000 (12:25 +0200)
Lib/asyncio/tasks.py

index 3c25e2d27823bc5e96fe432ee07dcaa6a0e4e4de..c37aa4195dba7c25f0dc52b7ab32308bb5029b52 100644 (file)
@@ -744,7 +744,7 @@ def timeout(timeout, *, loop=None):
     For example:
 
     >>> with asyncio.timeout(0.001):
-    >>>     yield from coro()
+    ...     yield from coro()
 
 
     timeout: timeout value in seconds