Skip to content

Commit 72debcf

Browse files
zuckerruebemiss-islington
authored andcommitted
gh-142876: remove reference to thread in documentation of asyncio.Queue.shutdown (GH-142888)
(cherry picked from commit 77c8e6a) Co-authored-by: Damian Birchler <damian@damianbirchler.net>
1 parent e5fd737 commit 72debcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/asyncio-queue.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Queue
107107
The queue can no longer grow.
108108
Future calls to :meth:`~Queue.put` raise :exc:`QueueShutDown`.
109109
Currently blocked callers of :meth:`~Queue.put` will be unblocked
110-
and will raise :exc:`QueueShutDown` in the formerly blocked thread.
110+
and will raise :exc:`QueueShutDown` in the formerly awaiting task.
111111

112112
If *immediate* is false (the default), the queue can be wound
113113
down normally with :meth:`~Queue.get` calls to extract tasks

0 commit comments

Comments
 (0)