Skip to content

Commit

Permalink
Clarify documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nineteendo authored Jun 21, 2024
1 parent 1f05869 commit b23a1b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Doc/library/queue.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ provide the public methods described below.

.. method:: Queue.__iter__()

Return an :term:`iterator` which iterates over the items in this queue
until :meth:`Queue.shutdown` is called and the queue is empty.
Return an :term:`iterator` which iterates over the queue of items until
:meth:`shutdown` is called and continues iteration until the queue is
empty.

Example::

Expand Down

0 comments on commit b23a1b3

Please sign in to comment.