From fc50f1bdbad3aa52d7cbd3cb836a35806266ec54 Mon Sep 17 00:00:00 2001 From: Xie Yanbo Date: Mon, 6 May 2024 23:00:31 +0800 Subject: Fix typo in Doc/library/asyncio-task.rst (GH-118627) --- Doc/library/asyncio-task.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 3d300c3..188649a 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. -- cgit v0.12