mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Revert "Fix a code snippet typo in asyncio docs (#108427)" (GH-111271)
This reverts commit 7f31676340
.
The change resulted in a tautology and should not have been made. There
may be an opportunity for additional clarity in this section, but this
change wasn't it :)
Ref: https://github.com/python/cpython/pull/108427#issuecomment-1777525740
This commit is contained in:
parent
1198076447
commit
c7d68f907a
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ Shielding From Cancellation
|
|||
|
||||
is equivalent to::
|
||||
|
||||
res = await shield(something())
|
||||
res = await 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