Skip to content

Fix docs for Queue.shutdown #137028

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 14 commits into from
Jul 24, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update task_done docstrings
  • Loading branch information
rhettinger committed Jul 24, 2025
commit 4620deb0e75d0088e87f7772e10bb2186a4c7b09
3 changes: 0 additions & 3 deletions Lib/asyncio/queues.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,6 @@ def task_done(self):
been processed (meaning that a task_done() call was received for every
item that had been put() into the queue).

shutdown(immediate=True) calls task_done() for each remaining item in
the queue.

Raises ValueError if called more times than there were items placed in
the queue.
"""
Expand Down
3 changes: 0 additions & 3 deletions Lib/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ def task_done(self):
have been processed (meaning that a task_done() call was received
for every item that had been put() into the queue).

shutdown(immediate=True) calls task_done() for each remaining item in
the queue.

Raises a ValueError if called more times than there were items
placed in the queue.
'''
Expand Down
Loading