diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2021-12-11 18:27:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-11 18:27:47 (GMT) |
commit | 991736697dff693b6c9f8964bb7540081bbf4ddb (patch) | |
tree | 72acb5937ff437ef422c5fc47568634b3becfe6c | |
parent | 1f7000808e8385e2a29ffd0ef6aac9a6139d3d92 (diff) | |
download | cpython-991736697dff693b6c9f8964bb7540081bbf4ddb.zip cpython-991736697dff693b6c9f8964bb7540081bbf4ddb.tar.gz cpython-991736697dff693b6c9f8964bb7540081bbf4ddb.tar.bz2 |
[3.10] bpo-46040: Fix removal text for @asyncio.coroutine (GH-30061)
-rw-r--r-- | Doc/library/asyncio-task.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2021-12-11-20-03-09.bpo-46040.qrsG0C.rst | 2 |
2 files changed, 3 insertions, 1 deletions
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. |