Commit cd90509d authored by Guido van Rossum's avatar Guido van Rossum

As suggested by pson@pson.pp.se, correct the docs for head(), body(),

article().
parent 0f91183b
...@@ -158,23 +158,21 @@ Send a \samp{LAST} command. Return as for \method{stat()}. ...@@ -158,23 +158,21 @@ Send a \samp{LAST} command. Return as for \method{stat()}.
\begin{methoddesc}{head}{id} \begin{methoddesc}{head}{id}
Send a \samp{HEAD} command, where \var{id} has the same meaning as for Send a \samp{HEAD} command, where \var{id} has the same meaning as for
\method{stat()}. Return a pair \code{(\var{response}, \var{list})} \method{stat()}. Return a tuple
where \var{list} is a list of the article's headers (an uninterpreted \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). list of lines, without trailing newlines).
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}{body}{id} \begin{methoddesc}{body}{id}
Send a \samp{BODY} command, where \var{id} has the same meaning as for Send a \samp{BODY} command, where \var{id} has the same meaning as for
\method{stat()}. Return a pair \code{(\var{response}, \var{list})} \method{stat()}. Return as for \method{head()}.
where \var{list} is a list of the article's body text (an
uninterpreted list of lines, without trailing newlines).
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}{article}{id} \begin{methoddesc}{article}{id}
Send a \samp{ARTICLE} command, where \var{id} has the same meaning as Send a \samp{ARTICLE} command, where \var{id} has the same meaning as
for \method{stat()}. Return a pair \code{(\var{response}, \var{list})} for \method{stat()}. Return as for \method{head()}.
where \var{list} is a list of the article's header and body text (an
uninterpreted list of lines, without trailing newlines).
\end{methoddesc} \end{methoddesc}
\begin{methoddesc}{slave}{} \begin{methoddesc}{slave}{}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment