Kaydet (Commit) 6f57424a authored tarafından Andrew Svetlov's avatar Andrew Svetlov

Document None as timeout for asyncio.timeout()

üst f9cddccf
...@@ -675,6 +675,8 @@ Task functions ...@@ -675,6 +675,8 @@ Task functions
:exc:`asyncio.TimeoutError` is raised outside of :exc:`asyncio.TimeoutError` is raised outside of
context manager scope. context manager scope.
Passing ``None`` as *timeout* argument disables the manager logic.
.. coroutinefunction:: wait(futures, \*, loop=None, timeout=None,\ .. coroutinefunction:: wait(futures, \*, loop=None, timeout=None,\
return_when=ALL_COMPLETED) return_when=ALL_COMPLETED)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment