commit | 6f57424ae07a8c7ecb171b4df2e0e2512f48d973 | [log] [tgz] |
---|---|---|
author | Andrew Svetlov <andrew.svetlov@gmail.com> | Tue Mar 29 09:39:02 2016 +0300 |
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | Tue Mar 29 09:39:02 2016 +0300 |
tree | 8d69526fac7dc14c2f205bcbb71270feac9f9973 | |
parent | f9cddccf8c165f461ace35302187ce32a3c38d7f [diff] [blame] |
Document None as timeout for asyncio.timeout()
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index fc73c20..6f56026 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst
@@ -675,6 +675,8 @@ :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)