diff options
author | paskozdilar <53006174+paskozdilar@users.noreply.github.com> | 2023-10-13 13:15:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-13 13:15:28 (GMT) |
commit | f81e36f700ac8c6766207fcf3bc2540692af868b (patch) | |
tree | 4a19e5f793a826cc3fb5aeccc56e9345b2eaa655 /Doc | |
parent | 548ce0923b9ef93b1c1df59f8febc4bb3daff28a (diff) | |
download | cpython-f81e36f700ac8c6766207fcf3bc2540692af868b.zip cpython-f81e36f700ac8c6766207fcf3bc2540692af868b.tar.gz cpython-f81e36f700ac8c6766207fcf3bc2540692af868b.tar.bz2 |
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>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/asyncio-task.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 39c1e93..88fdf41 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -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 ================== |