diff options
author | Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | 2023-03-17 01:28:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-17 01:28:43 (GMT) |
commit | 4f5774f648eafd1a7076ecf9af9629fb81baa363 (patch) | |
tree | b5443a42ecb33ef0a86591c00edadaf6615fb556 /Doc/library/asyncio-task.rst | |
parent | f33b33eb31c11a32b2955eb1f002f02267bd7d61 (diff) | |
download | cpython-4f5774f648eafd1a7076ecf9af9629fb81baa363.zip cpython-4f5774f648eafd1a7076ecf9af9629fb81baa363.tar.gz cpython-4f5774f648eafd1a7076ecf9af9629fb81baa363.tar.bz2 |
GH-78530: add support for generators in `asyncio.wait` (#102761)
Diffstat (limited to 'Doc/library/asyncio-task.rst')
-rw-r--r-- | Doc/library/asyncio-task.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 5f1449e..a0900cd 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -804,6 +804,10 @@ Waiting Primitives .. versionchanged:: 3.11 Passing coroutine objects to ``wait()`` directly is forbidden. + .. versionchanged:: 3.12 + Added support for generators yielding tasks. + + .. function:: as_completed(aws, *, timeout=None) Run :ref:`awaitable objects <asyncio-awaitables>` in the *aws* |