https://github.com/python/cpython/commit/c57ef49337c6720a76c5f2203d07d6d6d64f421f commit: c57ef49337c6720a76c5f2203d07d6d6d64f421f branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 <[email protected]> date: 2025-01-09T18:00:55+05:30 summary:
[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 4322a318ea98ceeb95d88b7ae6b5cfa3572d2069) Co-authored-by: Kumar Aditya <[email protected]> files: M Doc/library/asyncio-queue.rst diff --git a/Doc/library/asyncio-queue.rst b/Doc/library/asyncio-queue.rst index 61991bf2f4ed1d..066edd424d150e 100644 --- a/Doc/library/asyncio-queue.rst +++ b/Doc/library/asyncio-queue.rst @@ -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` _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
