]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutdown...
authorDamian Birchler <damian@damianbirchler.net>
Wed, 17 Dec 2025 16:40:03 +0000 (17:40 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Dec 2025 16:40:03 +0000 (16:40 +0000)
Doc/library/asyncio-queue.rst

index d481a1921d532bbaa106cce62d16f419b1414a8d..a9735ae80652df67354780c1e190e2911c333d25 100644 (file)
@@ -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