mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Fix a code snippet typo in asyncio docs (#108427)
This commit is contained in:
parent
b7808820b1
commit
7f31676340
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue