[3.10] bpo-46040: Fix removal text for @asyncio.coroutine (GH-30061)

This commit is contained in:
Andrew Svetlov 2021-12-11 20:27:47 +02:00 committed by GitHub
parent 1f7000808e
commit 991736697d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -1085,7 +1085,7 @@ enforced.
This decorator should not be used for :keyword:`async def`
coroutines.
.. deprecated-removed:: 3.8 3.10
.. deprecated-removed:: 3.8 3.11
Use :keyword:`async def` instead.

View file

@ -0,0 +1,2 @@
Fix removal Python version for ``@asyncio.coroutine``, the correct value is
3.11.