summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/asyncio-task.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst
index 39c1e93..88fdf41 100644
--- a/Doc/library/asyncio-task.rst
+++ b/Doc/library/asyncio-task.rst
@@ -767,9 +767,6 @@ Timeouts
If the wait is cancelled, the future *aw* is also cancelled.
- .. versionchanged:: 3.10
- Removed the *loop* parameter.
-
.. _asyncio_example_waitfor:
Example::
@@ -800,6 +797,9 @@ Timeouts
.. versionchanged:: 3.10
Removed the *loop* parameter.
+ .. versionchanged:: 3.11
+ Raises :exc:`TimeoutError` instead of :exc:`asyncio.TimeoutError`.
+
Waiting Primitives
==================