mirror of https://github.com/python/cpython
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 Co-authored-by: Kumar Aditya <kumaraditya@python.org> --------- Co-authored-by: Kumar Aditya <kumaraditya@python.org>
This commit is contained in:
parent
548ce0923b
commit
f81e36f700
|
@ -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::
|
||||
|
@ -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
|
||||
==================
|
||||
|
|
Loading…
Reference in New Issue