From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 13 Oct 2023 13:24:28 +0000 (+0200) Subject: [3.12] gh-110703: Add asyncio.wait_for() change notes for 3.11 (GH-110818) (#110826) X-Git-Tag: v3.12.1~300 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a7afa7ef41a79a923b93f9a58da7a4e3d359d4f;p=thirdparty%2FPython%2Fcpython.git [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 f81e36f700ac8c6766207fcf3bc2540692af868b) Co-authored-by: paskozdilar <53006174+paskozdilar@users.noreply.github.com> Co-authored-by: Kumar Aditya --- diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index f488aa73a62f..a3ea050c0713 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -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 ==================