Skip to content

Commit 2fb6c85

Browse files
paskozdilarkumaraditya303
authored andcommitted
pythongh-110703: Add asyncio.wait_for() change notes for 3.11 (pythonGH-110818)
* Remove redundant versionchanged * Add missing versionchanged * Update Doc/library/asyncio-task.rst Co-authored-by: Kumar Aditya <[email protected]> --------- Co-authored-by: Kumar Aditya <[email protected]>
1 parent 3dd9087 commit 2fb6c85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/asyncio-task.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -767,9 +767,6 @@ Timeouts
767767

768768
If the wait is cancelled, the future *aw* is also cancelled.
769769

770-
.. versionchanged:: 3.10
771-
Removed the *loop* parameter.
772-
773770
.. _asyncio_example_waitfor:
774771

775772
Example::
@@ -800,6 +797,9 @@ Timeouts
800797
.. versionchanged:: 3.10
801798
Removed the *loop* parameter.
802799

800+
.. versionchanged:: 3.11
801+
Raises :exc:`TimeoutError` instead of :exc:`asyncio.TimeoutError`.
802+
803803

804804
Waiting Primitives
805805
==================

0 commit comments

Comments
 (0)