summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-08-05 21:01:58 (GMT)
committerGeorg Brandl <georg@python.org>2005-08-05 21:01:58 (GMT)
commit2772c679e9c9503965301541ffa2a730c2527976 (patch)
treeefdd2d30da591074aec1a457c5bae3627463bec5
parenta580c47c6d4acb6bc4323bbf04ab24c4487a67e9 (diff)
downloadcpython-2772c679e9c9503965301541ffa2a730c2527976.zip
cpython-2772c679e9c9503965301541ffa2a730c2527976.tar.gz
cpython-2772c679e9c9503965301541ffa2a730c2527976.tar.bz2
bug [ 1252706 ] poplib list() docstring fix (and docs too)
-rw-r--r--Doc/lib/libpoplib.tex4
-rw-r--r--Lib/poplib.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libpoplib.tex b/Doc/lib/libpoplib.tex
index e10ee34..25570ae 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 1475bdc..202c6e0 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.