8000 [3.13] gh-124433: fix docs for `asyncio.Queue.task_done` (GH-128669) by miss-islington · Pull Request #128671 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.13] gh-124433: fix docs for asyncio.Queue.task_done (GH-128669) #128671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-124433: fix docs for asyncio.Queue.task_done (GH-128669)
(cherry picked from commit 4322a31)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
  • Loading branch information
kumaraditya303 authored and miss-islington committed Jan 9, 2025
commit 8be399ad195d5a36a452f5e7306c2e4eafac3f71
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
Loading
0