File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -829,6 +829,9 @@ Waiting Primitives
829829 Deprecation warning is emitted if not all awaitable objects in the *aws *
830830 iterable are Future-like objects and there is no running event loop.
831831
832+ .. versionchanged :: 3.12
833+ Added support for generators yielding tasks.
834+
832835
833836Running in Threads
834837==================
Original file line number Diff line number Diff line change @@ -250,7 +250,8 @@ asyncio
250250 :mod: `asyncio ` does not support legacy generator-based coroutines.
251251 (Contributed by Kumar Aditya in :gh: `102748 `.)
252252
253- * :func: `asyncio.wait ` now accepts generators yielding tasks.
253+ * :func: `asyncio.wait ` and :func: `asyncio.as_completed ` now accepts generators
254+ yielding tasks.
254255 (Contributed by Kumar Aditya in :gh: `78530 `.)
255256
256257csv
You can’t perform that action at this time.
0 commit comments