mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[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:
parent
7b5b23c31d
commit
5603db43ba
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue