Skip to content

Commit 8bfc68f

Browse files
[3.12] gh-124433: fix docs for asyncio.Queue.task_done (GH-128669) (#128672)
gh-124433: fix docs for `asyncio.Queue.task_done` (GH-128669) (cherry picked from commit 4322a31) Co-authored-by: Kumar Aditya <kumaraditya@python.org>
1 parent 182234f commit 8bfc68f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/asyncio-queue.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ Queue
9494

9595
.. method:: task_done()
9696

97-
Indicate that a formerly enqueued task is complete.
97+
Indicate that a formerly enqueued work item is complete.
9898

9999
Used by queue consumers. For each :meth:`~Queue.get` used to
100-
fetch a task, a subsequent call to :meth:`task_done` tells the
101-
queue that the processing on the task is complete.
100+
fetch a work item, a subsequent call to :meth:`task_done` tells the
101+
queue that the processing on the work item is complete.
102102

103103
If a :meth:`join` is currently blocking, it will resume when all
104104
items have been processed (meaning that a :meth:`task_done`

0 commit comments

Comments
 (0)