8000 [3.13] gh-124433: fix docs for `asyncio.Queue.task_done` (GH-128669) … · python/cpython@c57ef49 · GitHub
[go: up one dir, main page]

Skip to content

Commit c57ef49

Browse files
[3.13] gh-124433: fix docs for asyncio.Queue.task_done (GH-128669) (#128671)
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 1d2d62c commit c57ef49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/asyncio-queue.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ Queue
115115

116116
.. method:: task_done()
117117

118-
Indicate that a formerly enqueued task is complete.
118+
Indicate that a formerly enqueued work item is complete.
119119

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

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

0 commit comments

Comments
 (0)
0