Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cd90509d
Commit
cd90509d
authored
Jun 30, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
As suggested by pson@pson.pp.se, correct the docs for head(), body(),
article().
parent
0f91183b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
Doc/lib/libnntplib.tex
Doc/lib/libnntplib.tex
+6
-8
No files found.
Doc/lib/libnntplib.tex
View file @
cd90509d
...
...
@@ -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
}{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment