Skip to content

Commit ff818ff

Browse files
authored
Remove reference to thread in documentation of asyncio.Queue.shutdown.
Fixes #142876.
1 parent 7d81eab commit ff818ff

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 `await`ing 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)