mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Document None as timeout for asyncio.timeout()
This commit is contained in:
parent
f9cddccf8c
commit
6f57424ae0
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue