mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +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}}
|
||||
|
||||
All implementations of Mailbox objects are iterator objects, and so
|
||||
have one externally visible method:
|
||||
All implementations of mailbox objects are iterable objects, and
|
||||
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}{}
|
||||
Return the next message in the mailbox, created with the optional
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue