Skip to content

Commit 9d74658

Browse files
authored
bpo-40499: Mention that asyncio.wait() needs a non-empty aws set (GH-19900)
A similar formulation was added in bpo-21596 (db74d98) but was lost in bpo-33649 (3faaa88).
1 parent f25fb6e commit 9d74658

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Doc/library/asyncio-task.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,8 @@ Waiting Primitives
498498
set concurrently and block until the condition specified
499499
by *return_when*.
500500

501+
The *aws* set must not be empty.
502+
501503
Returns two sets of Tasks/Futures: ``(done, pending)``.
502504

503505
Usage::

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,6 +1443,7 @@ Mike Romberg
14431443
Armin Ronacher
14441444
Case Roole
14451445
Timothy Roscoe
1446+
Joel Rosdahl
14461447
Erik Rose
14471448
Mark Roseman
14481449
Josh Rosenberg
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Mention that :func:`asyncio.wait` requires a non-empty set of awaitables.

0 commit comments

Comments
 (0)