]> granicus.if.org Git - python/commitdiff
As suggested by pson@pson.pp.se, correct the docs for head(), body(),
authorGuido van Rossum <guido@python.org>
Tue, 30 Jun 1998 14:53:41 +0000 (14:53 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 30 Jun 1998 14:53:41 +0000 (14:53 +0000)
article().

Doc/lib/libnntplib.tex

index ba1d788ed37c8e7a289d34856b9f01340abd53ac..f2fdebdf310092295bbc7b992fec0f14d836deba 100644 (file)
@@ -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}{}