From 8948fe94667563c0404f508064d5120f9cbc0bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= Date: Wed, 13 Dec 2023 16:56:54 +0200 Subject: [PATCH] Update src/anyio/_backends/_asyncio.py Co-authored-by: Ganden Schaffner --- src/anyio/_backends/_asyncio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anyio/_backends/_asyncio.py b/src/anyio/_backends/_asyncio.py index 5137274d..1ea020e0 100644 --- a/src/anyio/_backends/_asyncio.py +++ b/src/anyio/_backends/_asyncio.py @@ -419,7 +419,7 @@ def __exit__( host_task_state.cancel_scope = self._parent_scope - # Restart the cancellation effort in the farthest directly cancelled parent + # Restart the cancellation effort in the closest directly cancelled parent # scope if this one was shielded self._restart_cancellation_in_parent()