From: Terry Jan Reedy Date: Fri, 4 Feb 2022 19:59:23 +0000 (-0500) Subject: [3.10] bpo-46609: Update asyncio-task coroutine doc (GH-31132) X-Git-Tag: v3.10.3~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5603db43ba7ba5568b7516d0e28730a2bc1e1f26;p=thirdparty%2FPython%2Fcpython.git [3.10] bpo-46609: Update asyncio-task coroutine doc (GH-31132) @coroutine in removed in 3.11, not 3.10. --- diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 1175b0537c05..7f4cc7038615 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -1057,7 +1057,7 @@ Generator-based Coroutines .. note:: Support for generator-based coroutines is **deprecated** and - is scheduled for removal in Python 3.10. + is removed in Python 3.11. Generator-based coroutines predate async/await syntax. They are Python generators that use ``yield from`` expressions to await