Skip to content

Commit

Permalink
[3.11] gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-11…
Browse files Browse the repository at this point in the history
…0818) (#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 <53006174+paskozdilar@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
  • Loading branch information
3 people authored Oct 13, 2023
1 parent b2a95f6 commit c0a77eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -714,9 +714,6 @@ Timeouts

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

.. versionchanged:: 3.10
Removed the *loop* parameter.

.. _asyncio_example_waitfor:

Example::
Expand Down Expand Up @@ -747,6 +744,9 @@ Timeouts
.. versionchanged:: 3.10
Removed the *loop* parameter.

.. versionchanged:: 3.11
Raises :exc:`TimeoutError` instead of :exc:`asyncio.TimeoutError`.


Waiting Primitives
==================
Expand Down

0 comments on commit c0a77eb

Please sign in to comment.