gh-142876: remove reference to thread in documentation of asyncio.Queue.shutdown (#142888)

This commit is contained in:
Damian Birchler
2025-12-17 17:40:03 +01:00
committed by GitHub
parent 7d81eab923
commit 77c8e6a2b8
+1 -1
View 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