[Python-checkins] CVS: python/dist/src/Doc/lib libcfgparser.tex,1.8,1.9

Fred Drake python-dev@python.org
Tue, 9 May 2000 11:06:36 -0400


Update of /projects/cvsroot/python/dist/src/Doc/lib
In directory seahag.cnri.reston.va.us:/home/fdrake/projects/python/Doc/lib

Modified Files:
	libcfgparser.tex 
Log Message:

read() method:  clarify that strings are accepted and interpreted
        reasonably.

readfp() method:  added documentation.


Index: libcfgparser.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/lib/libcfgparser.tex,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** libcfgparser.tex	2000/04/03 20:13:52	1.8
--- libcfgparser.tex	2000/05/09 15:06:32	1.9
***************
*** 115,119 ****
  
  \begin{methoddesc}{read}{filenames}
! Read and parse a list of filenames.
  \end{methoddesc}
  
--- 115,127 ----
  
  \begin{methoddesc}{read}{filenames}
! Read and parse a list of filenames.  If \var{filenames} is a string or
! Unicode string, it is treated as a single filename.
! \end{methoddesc}
! 
! \begin{methoddesc}{readfp}{fp\optional{, filename}}
! Read and parse configuration data from the file or file-like object in
! \var{fp} (only the \method{readline()} method is used).  If
! \var{filename} is omitted and \var{fp} has a \member{name} attribute,
! that is used for \var{filename}; the default is \samp{<???>}.
  \end{methoddesc}