From 72debcffac4f4df8104bed6f9b462e5dcfdd17cb Mon Sep 17 00:00:00 2001 From: Damian Birchler Date: Wed, 17 Dec 2025 17:40:03 +0100 Subject: [PATCH] gh-142876: remove reference to thread in documentation of `asyncio.Queue.shutdown` (GH-142888) (cherry picked from commit 77c8e6a2b8e206ea8151ab1b431e32f1cad51ddd) Co-authored-by: Damian Birchler --- Doc/library/asyncio-queue.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/asyncio-queue.rst b/Doc/library/asyncio-queue.rst index d481a1921d532b..a9735ae80652df 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