From: Andrew Svetlov Date: Sat, 11 Dec 2021 18:27:47 +0000 (+0200) Subject: [3.10] bpo-46040: Fix removal text for @asyncio.coroutine (GH-30061) X-Git-Tag: v3.10.2~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=991736697dff693b6c9f8964bb7540081bbf4ddb;p=thirdparty%2FPython%2Fcpython.git [3.10] bpo-46040: Fix removal text for @asyncio.coroutine (GH-30061) --- diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index f18b0e347b63..1175b0537c05 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 000000000000..c63b2c92b379 --- /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.