From: paskozdilar <53006174+paskozdilar@users.noreply.github.com> Date: Fri, 13 Oct 2023 13:15:28 +0000 (+0200) Subject: gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818) X-Git-Tag: v3.13.0a2~482 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f81e36f700ac8c6766207fcf3bc2540692af868b;p=thirdparty%2FPython%2Fcpython.git 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 --------- Co-authored-by: Kumar Aditya --- diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 39c1e939d916..88fdf41c7b2a 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 ==================