bpo-40499: Mention that asyncio.wait() needs a non-empty aws set (GH-19900)

A similar formulation was added in bpo-21596
(db74d982d4) but was lost in bpo-33649
(3faaa8857a).
This commit is contained in:
Joel Rosdahl 2020-05-04 23:56:00 +02:00 committed by GitHub
parent f25fb6ebfe
commit 9d74658f0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 0 deletions

View File

@ -498,6 +498,8 @@ Waiting Primitives
set concurrently and block until the condition specified set concurrently and block until the condition specified
by *return_when*. by *return_when*.
The *aws* set must not be empty.
Returns two sets of Tasks/Futures: ``(done, pending)``. Returns two sets of Tasks/Futures: ``(done, pending)``.
Usage:: Usage::

View File

@ -1443,6 +1443,7 @@ Mike Romberg
Armin Ronacher Armin Ronacher
Case Roole Case Roole
Timothy Roscoe Timothy Roscoe
Joel Rosdahl
Erik Rose Erik Rose
Mark Roseman Mark Roseman
Josh Rosenberg Josh Rosenberg

View File

@ -0,0 +1 @@
Mention that :func:`asyncio.wait` requires a non-empty set of awaitables.