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:
Zachary Ware 2023-10-24 11:09:13 -05:00 committed by GitHub
parent 1198076447
commit c7d68f907a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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