mirror of
https://github.com/python/cpython.git
synced 2025-09-29 19:56:59 +00:00
[3.12] Fix a code snippet typo in asyncio docs (GH-108427) (#111245)
Co-authored-by: A <5249513+Dumeng@users.noreply.github.com>
This commit is contained in:
parent
38578dd665
commit
b622c2dcbe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue