Skip to content

Commit c0a77eb

Browse files
miss-islingtonpaskozdilarkumaraditya303
authored
[3.11] gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818) (#110827)
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 b2a95f6 commit c0a77eb

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
@@ -714,9 +714,6 @@ Timeouts
714714

715715
If the wait is cancelled, the future *aw* is also cancelled.
716716

717-
.. versionchanged:: 3.10
718-
Removed the *loop* parameter.
719-
720717
.. _asyncio_example_waitfor:
721718

722719
Example::
@@ -747,6 +744,9 @@ Timeouts
747744
.. versionchanged:: 3.10
748745
Removed the *loop* parameter.
749746

747+
.. versionchanged:: 3.11
748+
Raises :exc:`TimeoutError` instead of :exc:`asyncio.TimeoutError`.
749+
750750

751751
Waiting Primitives
752752
==================

0 commit comments

Comments
 (0)