mirror of https://github.com/python/cpython
Fix typo in Doc/library/asyncio-task.rst (GH-118627)
This commit is contained in:
parent
1b639a04ca
commit
fc50f1bdba
|
@ -1386,7 +1386,7 @@ Task Object
|
||||||
with :meth:`uncancel`. :class:`TaskGroup` context managers use
|
with :meth:`uncancel`. :class:`TaskGroup` context managers use
|
||||||
:func:`uncancel` in a similar fashion.
|
:func:`uncancel` in a similar fashion.
|
||||||
|
|
||||||
If end-user code is, for some reason, suppresing cancellation by
|
If end-user code is, for some reason, suppressing cancellation by
|
||||||
catching :exc:`CancelledError`, it needs to call this method to remove
|
catching :exc:`CancelledError`, it needs to call this method to remove
|
||||||
the cancellation state.
|
the cancellation state.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue