mirror of
https://github.com/python/cpython.git
synced 2025-01-22 08:25:42 +08:00
Document None as timeout for asyncio.timeout()
This commit is contained in:
parent
f9cddccf8c
commit
6f57424ae0
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user