Skip to content

Commit

Permalink
Revert "Fix a code snippet typo in asyncio docs (python#108427)" (pyt…
Browse files Browse the repository at this point in the history
…honGH-111271)

This reverts commit 7f31676.

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: python#108427 (comment)
  • Loading branch information
zware authored and aisk committed Feb 11, 2024
1 parent 014982c commit 737dd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 737dd9d

Please sign in to comment.