summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-queue.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/asyncio-queue.rst')
-rw-r--r--Doc/library/asyncio-queue.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/asyncio-queue.rst b/Doc/library/asyncio-queue.rst
index 030d431..9b579cc 100644
--- a/Doc/library/asyncio-queue.rst
+++ b/Doc/library/asyncio-queue.rst
@@ -106,9 +106,10 @@ Queue
raise once the queue is empty. Set *immediate* to true to make
:meth:`~Queue.get` raise immediately instead.
- All blocked callers of :meth:`~Queue.put` will be unblocked. If
- *immediate* is true, also unblock callers of :meth:`~Queue.get`
- and :meth:`~Queue.join`.
+ All blocked callers of :meth:`~Queue.put` and :meth:`~Queue.get`
+ will be unblocked. If *immediate* is true, a task will be marked
+ as done for each remaining item in the queue, which may unblock
+ callers of :meth:`~Queue.join`.
.. versionadded:: 3.13