diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-24 06:37:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 06:37:41 (GMT) |
commit | b622c2dcbe59c5ff579ee443244080f2f45168a5 (patch) | |
tree | 7f315d949136a09a54d080aa90ee4661116e1d79 | |
parent | 38578dd665a0fd88b768d8d7c080fa404cc57923 (diff) | |
download | cpython-b622c2dcbe59c5ff579ee443244080f2f45168a5.zip cpython-b622c2dcbe59c5ff579ee443244080f2f45168a5.tar.gz cpython-b622c2dcbe59c5ff579ee443244080f2f45168a5.tar.bz2 |
[3.12] Fix a code snippet typo in asyncio docs (GH-108427) (#111245)
Co-authored-by: A <5249513+Dumeng@users.noreply.github.com>
-rw-r--r-- | Doc/library/asyncio-task.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index a3ea050..eb9db37 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -589,7 +589,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 |