Skip to content

Commit

Permalink
fix docs for task_done
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaraditya303 committed Jan 9, 2025
1 parent b2adf55 commit 5c5f73e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/library/asyncio-queue.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ Queue

.. method:: task_done()

Indicate that a formerly enqueued task is complete.
Indicate that a formerly enqueued work item is complete.

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

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

0 comments on commit 5c5f73e

Please sign in to comment.