From: Xie Yanbo Date: Mon, 6 May 2024 15:00:31 +0000 (+0800) Subject: Fix typo in Doc/library/asyncio-task.rst (GH-118627) X-Git-Tag: v3.13.0b1~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc50f1bdbad3aa52d7cbd3cb836a35806266ec54;p=thirdparty%2FPython%2Fcpython.git Fix typo in Doc/library/asyncio-task.rst (GH-118627) --- diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 3d300c37419f..188649a2968d 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -1386,7 +1386,7 @@ Task Object with :meth:`uncancel`. :class:`TaskGroup` context managers use :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 the cancellation state.