Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd90509

Browse files
committed
As suggested by [email protected], correct the docs for head(), body(),
article().
1 parent 0f91183 commit cd90509

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

Doc/lib/libnntplib.tex

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -158,23 +158,21 @@ \subsection{NNTP Objects}
158158

159159
\begin{methoddesc}{head}{id}
160160
Send a \samp{HEAD} command, where \var{id} has the same meaning as for
161-
\method{stat()}. Return a pair \code{(\var{response}, \var{list})}
162-
where \var{list} is a list of the article's headers (an uninterpreted
161+
\method{stat()}. Return a tuple
162+
\code{(\var{response}, \var{number}, \var{id}, \var{list})}
163+
where the first three are the same as for \method{stat()},
164+
and \var{list} is a list of the article's headers (an uninterpreted
163165
list of lines, without trailing newlines).
164166
\end{methoddesc}
165167

166168
\begin{methoddesc}{body}{id}
167169
Send a \samp{BODY} command, where \var{id} has the same meaning as for
168-
\method{stat()}. Return a pair \code{(\var{response}, \var{list})}
169-
where \var{list} is a list of the article's body text (an
170-
uninterpreted list of lines, without trailing newlines).
170+
\method{stat()}. Return as for \method{head()}.
171171
\end{methoddesc}
172172

173173
\begin{methoddesc}{article}{id}
174174
Send a \samp{ARTICLE} command, where \var{id} has the same meaning as
175-
for \method{stat()}. Return a pair \code{(\var{response}, \var{list})}
176-
where \var{list} is a list of the article's header and body text (an
177-
uninterpreted list of lines, without trailing newlines).
175+
for \method{stat()}. Return as for \method{head()}.
178176
\end{methoddesc}
179177

180178
\begin{methoddesc}{slave}{}

0 commit comments

Comments
 (0)