Skip to content

Commit 1a7afa7

Browse files
miss-islingtonpaskozdilarkumaraditya303
authored
[3.12] gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818) (#110826)
gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818) * Remove redundant versionchanged * Add missing versionchanged * Update Doc/library/asyncio-task.rst --------- (cherry picked from commit f81e36f) Co-authored-by: paskozdilar <[email protected]> Co-authored-by: Kumar Aditya <[email protected]>
1 parent f2e353b commit 1a7afa7

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
@@ -764,9 +764,6 @@ Timeouts
764764

765765
If the wait is cancelled, the future *aw* is also cancelled.
766766

767-
.. versionchanged:: 3.10
768-
Removed the *loop* parameter.
769-
770767
.. _asyncio_example_waitfor:
771768

772769
Example::
@@ -797,6 +794,9 @@ Timeouts
797794
.. versionchanged:: 3.10
798795
Removed the *loop* parameter.
799796

797+
.. versionchanged:: 3.11
798+
Raises :exc:`TimeoutError` instead of :exc:`asyncio.TimeoutError`.
799+
800800

801801
Waiting Primitives
802802
==================

0 commit comments

Comments
 (0)