From 6f57424ae07a8c7ecb171b4df2e0e2512f48d973 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Tue, 29 Mar 2016 09:39:02 +0300 Subject: [PATCH] Document None as timeout for asyncio.timeout() --- Doc/library/asyncio-task.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index fc73c2069c..6f56026db4 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -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) -- 2.40.0