[Python-checkins] CVS: python/dist/src/Doc/lib libnntplib.tex,1.25,1.26

Guido van Rossum gvanrossum@users.sourceforge.net
Mon, 01 Oct 2001 06:50:17 -0700


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv20161

Modified Files:
	libnntplib.tex 
Log Message:
Docs for SF patch #462628

Index: libnntplib.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libnntplib.tex,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** libnntplib.tex	2000/07/01 17:43:19	1.25
--- libnntplib.tex	2001/10/01 13:50:15	1.26
***************
*** 198,204 ****
  \end{methoddesc}
  
! \begin{methoddesc}{body}{id}
  Send a \samp{BODY} command, where \var{id} has the same meaning as for
! \method{stat()}.  Return as for \method{head()}.
  \end{methoddesc}
  
--- 198,210 ----
  \end{methoddesc}
  
! \begin{methoddesc}{body}{id,\optional{fileHandle}}
  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
! 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}