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