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
e7877df5
Commit
e7877df5
authored
Oct 01, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs for SF patch #462628
parent
ff68693d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Doc/lib/libnntplib.tex
Doc/lib/libnntplib.tex
+8
-2
No files found.
Doc/lib/libnntplib.tex
View file @
e7877df5
...
@@ -197,9 +197,15 @@ and \var{list} is a list of the article's headers (an uninterpreted
...
@@ -197,9 +197,15 @@ 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
,
\optional
{
fileHandle
}
}
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 as for
\method
{
head()
}
.
\method
{
stat()
}
. If the
\var
{
fileHandle
}
parameter is supplied, then
the body is stored in a file. If
\var
{
fileHandle
}
is a string, then
the method will open a file object with that name, write to it then close it.
If
\var
{
fileHandle
}
is a file object, then it will start calling
\method
{
write()
}
on it to store the lines of the body.
Return as for
\method
{
head()
}
. If
\var
{
fileHandle
}
is supplied. Then
the returned
\var
{
list
}
is an empty list.
\end{methoddesc}
\end{methoddesc}
\begin{methoddesc}
{
article
}{
id
}
\begin{methoddesc}
{
article
}{
id
}
...
...
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