Skip to content

Commit 459e26f

Browse files
[3.9] bpo-46609: Update asyncio-task coroutine doc (GH-31132)
@coroutine in removed in 3.11, not 3.10. (cherry picked from commit 5603db4) Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent 6da4364 commit 459e26f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/asyncio-task.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ Generator-based Coroutines
991991
.. note::
992992

993993
Support for generator-based coroutines is **deprecated** and
994-
is scheduled for removal in Python 3.10.
994+
is removed in Python 3.11.
995995

996996
Generator-based coroutines predate async/await syntax. They are
997997
Python generators that use ``yield from`` expressions to await
@@ -1019,7 +1019,7 @@ enforced.
10191019
This decorator should not be used for :keyword:`async def`
10201020
coroutines.
10211021

1022-
.. deprecated-removed:: 3.8 3.10
1022+
.. deprecated-removed:: 3.8 3.11
10231023

10241024
Use :keyword:`async def` instead.
10251025

0 commit comments

Comments
 (0)