From 70c5dfb67c658be73c1bd5d9ac0d4fa32a008eaf Mon Sep 17 00:00:00 2001 From: dagangtj <2285648311@qq.com> Date: Wed, 15 Apr 2026 00:28:02 +0800 Subject: [PATCH] docs: clarify asyncio operation wording in asyncio-exceptions.rst Fixes python/cpython#148541 --- Doc/library/asyncio-exceptions.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/library/asyncio-exceptions.rst b/Doc/library/asyncio-exceptions.rst index 7ad9103ca3fdfc..a2a599d9831c2d 100644 --- a/Doc/library/asyncio-exceptions.rst +++ b/Doc/library/asyncio-exceptions.rst @@ -14,7 +14,7 @@ Exceptions .. exception:: TimeoutError A deprecated alias of :exc:`TimeoutError`, - raised when the operation has exceeded the given deadline. + raised when the asyncio operation has exceeded the given deadline. .. versionchanged:: 3.11 @@ -23,7 +23,7 @@ Exceptions .. exception:: CancelledError - The operation has been cancelled. + The asyncio operation has been cancelled. This exception can be caught to perform custom operations when asyncio Tasks are cancelled. In almost all situations the @@ -52,7 +52,7 @@ Exceptions .. exception:: IncompleteReadError - The requested read operation did not complete fully. + The requested asyncio read operation did not complete fully. Raised by the :ref:`asyncio stream APIs`.