mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
(Merge 3.4) Issue #21596: asyncio.wait(): mention that the sequence of futures
must not be empty.
This commit is contained in:
commit
791e5531c9
2 changed files with 4 additions and 0 deletions
|
@ -521,6 +521,8 @@ Task functions
|
|||
to complete. Coroutines will be wrapped in Tasks. Returns two sets of
|
||||
:class:`Future`: (done, pending).
|
||||
|
||||
The sequence *futures* must not be empty.
|
||||
|
||||
*timeout* can be used to control the maximum number of seconds to wait before
|
||||
returning. *timeout* can be an int or float. If *timeout* is not specified
|
||||
or ``None``, there is no limit to the wait time.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue