There was an error while loading. Please reload this page.
1 parent 9ea05d4 commit 539e85aCopy full SHA for 539e85a
1 file changed
Doc/library/asyncio-task.rst
@@ -175,6 +175,9 @@ other coroutines::
175
* a *coroutine object*: an object returned by calling a
176
*coroutine function*.
177
178
+ Generator-based coroutines, created with :func:`types.coroutine`, are
179
+ covered by neither term and are not supported by asyncio.
180
+
181
182
.. rubric:: Tasks
183
@@ -1220,6 +1223,10 @@ Introspection
1220
1223
1221
1224
.. versionadded:: 3.4
1222
1225
1226
+ .. versionchanged:: 3.12
1227
+ Generator-based coroutines are no longer supported, and ``False``
1228
+ is returned for them.
1229
1230
.. _asyncio-task-obj:
1231
1232
Task object
0 commit comments