[3.10] bpo-46609: Update asyncio-task coroutine doc (GH-31132)

@coroutine in removed in 3.11, not 3.10.
This commit is contained in:
Terry Jan Reedy 2022-02-04 14:59:23 -05:00 committed by GitHub
parent 7b5b23c31d
commit 5603db43ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1057,7 +1057,7 @@ Generator-based Coroutines
.. note::
Support for generator-based coroutines is **deprecated** and
is scheduled for removal in Python 3.10.
is removed in Python 3.11.
Generator-based coroutines predate async/await syntax. They are
Python generators that use ``yield from`` expressions to await