Clarify comments about mailbox objects being iterable.

This commit is contained in:
Fred Drake 2001-10-01 15:49:56 +00:00
parent e7877df595
commit e9ba525c2b

View file

@ -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