]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818)
authorpaskozdilar <53006174+paskozdilar@users.noreply.github.com>
Fri, 13 Oct 2023 13:15:28 +0000 (15:15 +0200)
committerGitHub <noreply@github.com>
Fri, 13 Oct 2023 13:15:28 +0000 (15:15 +0200)
* 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>
Doc/library/asyncio-task.rst

index 39c1e939d91652434dc389085ea5fe5fa25b8a7e..88fdf41c7b2a3e2d97fc16a2b73c5cebd60dec7c 100644 (file)
@@ -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
 ==================