]> granicus.if.org Git - python/commitdiff
Document None as timeout for asyncio.timeout()
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 29 Mar 2016 06:39:02 +0000 (09:39 +0300)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Tue, 29 Mar 2016 06:39:02 +0000 (09:39 +0300)
Doc/library/asyncio-task.rst

index fc73c2069cdf45aa597b5a3cb2b9626da4b8ac7a..6f56026db4af1538b3d5a3d6e61138351e19abb2 100644 (file)
@@ -675,6 +675,8 @@ Task functions
       :exc:`asyncio.TimeoutError` is raised outside of
       context manager scope.
 
+   Passing ``None`` as *timeout* argument disables the manager logic.
+
 .. coroutinefunction:: wait(futures, \*, loop=None, timeout=None,\
                             return_when=ALL_COMPLETED)