diff --git a/Doc/lib/libpoplib.tex b/Doc/lib/libpoplib.tex index e10ee341a11..25570ae7250 100644 --- a/Doc/lib/libpoplib.tex +++ b/Doc/lib/libpoplib.tex @@ -108,8 +108,8 @@ Get mailbox status. The result is a tuple of 2 integers: \begin{methoddesc}{list}{\optional{which}} Request message list, result is in the form -\code{(\var{response}, ['mesg_num octets', ...])}. If \var{which} is -set, it is the message to list. +\code{(\var{response}, ['mesg_num octets', ...], \var{octets})}. +If \var{which} is set, it is the message to list. \end{methoddesc} \begin{methoddesc}{retr}{which} diff --git a/Lib/poplib.py b/Lib/poplib.py index 1475bdce875..202c6e00548 100644 --- a/Lib/poplib.py +++ b/Lib/poplib.py @@ -219,7 +219,7 @@ class POP3: """Request listing, return result. 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 single response: the "scan listing" for that message.