mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Clarify comments about mailbox objects being iterable.
This commit is contained in:
parent
e7877df595
commit
e9ba525c2b
1 changed files with 3 additions and 2 deletions
|
|
@ -101,8 +101,9 @@ messages start with the EOOH line and end with a line containing only
|
||||||
|
|
||||||
\subsection{Mailbox Objects \label{mailbox-objects}}
|
\subsection{Mailbox Objects \label{mailbox-objects}}
|
||||||
|
|
||||||
All implementations of Mailbox objects are iterator objects, and so
|
All implementations of mailbox objects are iterable objects, and
|
||||||
have one externally visible method:
|
have one externally visible method. This method is used by iterators
|
||||||
|
created from mailbox objects and may also be used directly.
|
||||||
|
|
||||||
\begin{methoddesc}[mailbox]{next}{}
|
\begin{methoddesc}[mailbox]{next}{}
|
||||||
Return the next message in the mailbox, created with the optional
|
Return the next message in the mailbox, created with the optional
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue