diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-10-18 20:58:25 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-10-18 20:58:25 (GMT) |
commit | a5e616510e57a5269d53a9cea1d98ea095879c58 (patch) | |
tree | cef17beb11fee14b58f09952a979b592dec61fac /Doc | |
parent | a4dc73e2469f9662a1f48e1a2990fc7c0a1377fc (diff) | |
download | cpython-a5e616510e57a5269d53a9cea1d98ea095879c58.zip cpython-a5e616510e57a5269d53a9cea1d98ea095879c58.tar.gz cpython-a5e616510e57a5269d53a9cea1d98ea095879c58.tar.bz2 |
changed misleading argument name
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libnntplib.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libnntplib.tex b/Doc/lib/libnntplib.tex index bf26b7d..e0f9989 100644 --- a/Doc/lib/libnntplib.tex +++ b/Doc/lib/libnntplib.tex @@ -197,14 +197,14 @@ 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,\optional{fileHandle}} +\begin{methoddesc}{body}{id,\optional{file}} Send a \samp{BODY} command, where \var{id} has the same meaning as for -\method{stat()}. If the \var{fileHandle} parameter is supplied, then -the body is stored in a file. If \var{fileHandle} is a string, then +\method{stat()}. If the \var{file} parameter is supplied, then +the body is stored in a file. If \var{file} 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 +If \var{file} 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 +Return as for \method{head()}. If \var{file} is supplied. Then the returned \var{list} is an empty list. \end{methoddesc} |