bug [ 1252706 ] poplib list() docstring fix (and docs too)

This commit is contained in:
Georg Brandl 2005-08-05 21:01:58 +00:00
parent a580c47c6d
commit 2772c679e9
2 changed files with 3 additions and 3 deletions

View File

@ -108,8 +108,8 @@ Get mailbox status. The result is a tuple of 2 integers:
\begin{methoddesc}{list}{\optional{which}} \begin{methoddesc}{list}{\optional{which}}
Request message list, result is in the form Request message list, result is in the form
\code{(\var{response}, ['mesg_num octets', ...])}. If \var{which} is \code{(\var{response}, ['mesg_num octets', ...], \var{octets})}.
set, it is the message to list. If \var{which} is set, it is the message to list.
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}{retr}{which} \begin{methoddesc}{retr}{which}

View File

@ -219,7 +219,7 @@ class POP3:
"""Request listing, return result. """Request listing, return result.
Result without a message number argument is in form Result without a message number argument is in form
['response', ['mesg_num octets', ...]]. ['response', ['mesg_num octets', ...], octets].
Result when a message number argument is given is a Result when a message number argument is given is a
single response: the "scan listing" for that message. single response: the "scan listing" for that message.