]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] bpo-46040: Fix removal text for @asyncio.coroutine (GH-30061)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Sat, 11 Dec 2021 18:27:47 +0000 (20:27 +0200)
committerGitHub <noreply@github.com>
Sat, 11 Dec 2021 18:27:47 +0000 (20:27 +0200)
Doc/library/asyncio-task.rst
Misc/NEWS.d/next/Documentation/2021-12-11-20-03-09.bpo-46040.qrsG0C.rst [new file with mode: 0644]

index f18b0e347b631494dc9607d49e1655526dcd2143..1175b0537c0511a324054a0e3923cd0d58c3a578 100644 (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.
 
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 (file)
index 0000000..c63b2c9
--- /dev/null
@@ -0,0 +1,2 @@
+Fix removal Python version for ``@asyncio.coroutine``, the correct value is
+3.11.