From: A <5249513+Dumeng@users.noreply.github.com> Date: Thu, 24 Aug 2023 16:27:54 +0000 (+0800) Subject: Fix a code snippet typo in asyncio docs (#108427) X-Git-Tag: v3.13.0a1~805 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f316763402a7d5556deecc3acd06cb719e189b3;p=thirdparty%2FPython%2Fcpython.git Fix a code snippet typo in asyncio docs (#108427) --- diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 1c419728c9a4..39c1e939d916 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -592,7 +592,7 @@ Shielding From Cancellation is equivalent to:: - res = await something() + res = await shield(something()) *except* that if the coroutine containing it is cancelled, the Task running in ``something()`` is not cancelled. From the point