summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-30 14:53:41 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-30 14:53:41 (GMT)
commitcd90509d58a1ce5df7f780c3f234c164eca53661 (patch)
tree906b31df17266e04eca21915e92ca48d2e8c486a /Doc/lib
parent0f91183b1a8e0d3c30db922b1d30a323daf10c90 (diff)
downloadcpython-cd90509d58a1ce5df7f780c3f234c164eca53661.zip
cpython-cd90509d58a1ce5df7f780c3f234c164eca53661.tar.gz
cpython-cd90509d58a1ce5df7f780c3f234c164eca53661.tar.bz2
As suggested by pson@pson.pp.se, correct the docs for head(), body(),
article().
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libnntplib.tex14
1 files changed, 6 insertions, 8 deletions
diff --git a/Doc/lib/libnntplib.tex b/Doc/lib/libnntplib.tex
index ba1d788..f2fdebd 100644
--- a/Doc/lib/libnntplib.tex
+++ b/Doc/lib/libnntplib.tex
@@ -158,23 +158,21 @@ Send a \samp{LAST} command. Return as for \method{stat()}.
\begin{methoddesc}{head}{id}
Send a \samp{HEAD} command, where \var{id} has the same meaning as for
-\method{stat()}. Return a pair \code{(\var{response}, \var{list})}
-where \var{list} is a list of the article's headers (an uninterpreted
+\method{stat()}. Return a tuple
+\code{(\var{response}, \var{number}, \var{id}, \var{list})}
+where the first three are the same as for \method{stat()},
+and \var{list} is a list of the article's headers (an uninterpreted
list of lines, without trailing newlines).
\end{methoddesc}
\begin{methoddesc}{body}{id}
Send a \samp{BODY} command, where \var{id} has the same meaning as for
-\method{stat()}. Return a pair \code{(\var{response}, \var{list})}
-where \var{list} is a list of the article's body text (an
-uninterpreted list of lines, without trailing newlines).
+\method{stat()}. Return as for \method{head()}.
\end{methoddesc}
\begin{methoddesc}{article}{id}
Send a \samp{ARTICLE} command, where \var{id} has the same meaning as
-for \method{stat()}. Return a pair \code{(\var{response}, \var{list})}
-where \var{list} is a list of the article's header and body text (an
-uninterpreted list of lines, without trailing newlines).
+for \method{stat()}. Return as for \method{head()}.
\end{methoddesc}
\begin{methoddesc}{slave}{}