From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 17 Dec 2025 16:53:14 +0000 (+0100) Subject: [3.13] gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutd... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42513a237f966f779abd482652f89614eef78756;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutdown` (GH-142888) (#142892) gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutdown` (GH-142888) (cherry picked from commit 77c8e6a2b8e206ea8151ab1b431e32f1cad51ddd) Co-authored-by: Damian Birchler --- diff --git a/Doc/library/asyncio-queue.rst b/Doc/library/asyncio-queue.rst index d481a1921d53..a9735ae80652 100644 --- a/Doc/library/asyncio-queue.rst +++ b/Doc/library/asyncio-queue.rst @@ -107,7 +107,7 @@ Queue The queue can no longer grow. Future calls to :meth:`~Queue.put` raise :exc:`QueueShutDown`. Currently blocked callers of :meth:`~Queue.put` will be unblocked - and will raise :exc:`QueueShutDown` in the formerly blocked thread. + and will raise :exc:`QueueShutDown` in the formerly awaiting task. If *immediate* is false (the default), the queue can be wound down normally with :meth:`~Queue.get` calls to extract tasks