summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-task.rst
diff options
context:
space:
mode:
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>2023-03-17 01:28:43 (GMT)
committerGitHub <noreply@github.com>2023-03-17 01:28:43 (GMT)
commit4f5774f648eafd1a7076ecf9af9629fb81baa363 (patch)
treeb5443a42ecb33ef0a86591c00edadaf6615fb556 /Doc/library/asyncio-task.rst
parentf33b33eb31c11a32b2955eb1f002f02267bd7d61 (diff)
downloadcpython-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.rst4
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*