Skip to content

Commit

Permalink
pythongh-110703: Add asyncio.wait_for() change notes for 3.11 (python…
Browse files Browse the repository at this point in the history
…GH-110818)

* Remove redundant versionchanged

* Add missing versionchanged

* Update Doc/library/asyncio-task.rst

Co-authored-by: Kumar Aditya <kumaraditya@python.org>

---------

(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
2 people authored and miss-islington committed Oct 13, 2023
1 parent b2a95f6 commit 52aee0f
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 52aee0f

Please sign in to comment.