8000 Revert "Fix a code snippet typo in asyncio docs (#108427)" by zware · Pull Request #111271 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

8000 Revert "Fix a code snippet typo in asyncio docs (#108427)" #111271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert "Fix a code snippet typo in asyncio docs (#108427)"
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: #108427 (comment)
  • Loading branch information
zware committed Oct 24, 2023
commit bc217124eb4be932d20740b4b16ee6271ecb003d
2 changes: 1 addition & 1 deletion Doc/library/asyncio-task.rst
Original file line numbe 5E88 r 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