mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
[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 f81e36f700)
Co-authored-by: paskozdilar <53006174+paskozdilar@users.noreply.github.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
parent
f2e353b9d8
commit
1a7afa7ef4
1 changed files with 3 additions and 3 deletions
|
|
@ -764,9 +764,6 @@ Timeouts
|
|||
|
||||
If the wait is cancelled, the future *aw* is also cancelled.
|
||||
|
||||
.. versionchanged:: 3.10
|
||||
Removed the *loop* parameter.
|
||||
|
||||
.. _asyncio_example_waitfor:
|
||||
|
||||
Example::
|
||||
|
|
@ -797,6 +794,9 @@ Timeouts
|
|||
.. versionchanged:: 3.10
|
||||
Removed the *loop* parameter.
|
||||
|
||||
.. versionchanged:: 3.11
|
||||
Raises :exc:`TimeoutError` instead of :exc:`asyncio.TimeoutError`.
|
||||
|
||||
|
||||
Waiting Primitives
|
||||
==================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue