From: Damian Birchler Date: Wed, 17 Dec 2025 16:40:03 +0000 (+0100) Subject: gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutdown... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77c8e6a2b8e206ea8151ab1b431e32f1cad51ddd;p=thirdparty%2FPython%2Fcpython.git gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutdown` (#142888) --- 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