From 5a6056eb6238eef61afcb90f956a5a5d363c7b9b Mon Sep 17 00:00:00 2001 From: A <5249513+Dumeng@users.noreply.github.com> Date: Fri, 25 Aug 2023 00:27:54 +0800 Subject: [PATCH] Fix a code snippet typo in asyncio docs (GH-108427) (cherry picked from commit 7f316763402a7d5556deecc3acd06cb719e189b3) Co-authored-by: A <5249513+Dumeng@users.noreply.github.com> --- Doc/library/asyncio-task.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 0944aef0ab619d..858c2996b87695 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -539,7 +539,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