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 <[email protected]>

---------

Co-authored-by: Kumar Aditya <[email protected]>
  • Loading branch information
paskozdilar and kumaraditya303 authored Oct 13, 2023
1 parent 548ce09 commit f81e36f
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 @@ -767,9 +767,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 @@ -800,6 +797,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 f81e36f

Please sign in to comment.