]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutd...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 17 Dec 2025 16:53:27 +0000 (17:53 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Dec 2025 16:53:27 +0000 (22:23 +0530)
gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutdown` (GH-142888)
(cherry picked from commit 77c8e6a2b8e206ea8151ab1b431e32f1cad51ddd)

Co-authored-by: Damian Birchler <damian@damianbirchler.net>
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