From 991736697dff693b6c9f8964bb7540081bbf4ddb Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Sat, 11 Dec 2021 20:27:47 +0200 Subject: [3.10] bpo-46040: Fix removal text for @asyncio.coroutine (GH-30061) --- Doc/library/asyncio-task.rst | 2 +- Misc/NEWS.d/next/Documentation/2021-12-11-20-03-09.bpo-46040.qrsG0C.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Documentation/2021-12-11-20-03-09.bpo-46040.qrsG0C.rst diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index f18b0e3..1175b05 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 0000000..c63b2c9 --- /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. -- cgit v0.12