[Python-checkins] [3.10] bpo-46040: Fix removal text for @asyncio.coroutine (GH-30061)
asvetlov
webhook-mailer at python.org
Sat Dec 11 13:28:08 EST 2021
https://github.com/python/cpython/commit/991736697dff693b6c9f8964bb7540081bbf4ddb
commit: 991736697dff693b6c9f8964bb7540081bbf4ddb
branch: 3.10
author: Andrew Svetlov <andrew.svetlov at gmail.com>
committer: asvetlov <andrew.svetlov at gmail.com>
date: 2021-12-11T20:27:47+02:00
summary:
[3.10] bpo-46040: Fix removal text for @asyncio.coroutine (GH-30061)
files:
A Misc/NEWS.d/next/Documentation/2021-12-11-20-03-09.bpo-46040.qrsG0C.rst
M Doc/library/asyncio-task.rst
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index f18b0e347b631..1175b0537c051 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -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.
diff --git a/Misc/NEWS.d/next/Documentation/2021-12-11-20-03-09.bpo-46040.qrsG0C.rst b/Misc/NEWS.d/next/Documentation/2021-12-11-20-03-09.bpo-46040.qrsG0C.rst
new file mode 100644
index 0000000000000..c63b2c92b3790
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2021-12-11-20-03-09.bpo-46040.qrsG0C.rst
@@ -0,0 +1,2 @@
+Fix removal Python version for ``@asyncio.coroutine``, the correct value is
+3.11.
More information about the Python-checkins
mailing list