[Python-checkins] python/dist/src/Doc/lib libcfgparser.tex, 1.37, 1.38

fdrake at users.sourceforge.net fdrake at users.sourceforge.net
Tue May 18 00:24:05 EDT 2004


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21743/Doc/lib

Modified Files:
	libcfgparser.tex 
Log Message:
ConfigParser:
- read() method returns a list of files parsed successfully
- add tests, documentation
(closes SF patch #677651)


Index: libcfgparser.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcfgparser.tex,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** libcfgparser.tex	18 May 2004 03:56:51 -0000	1.37
--- libcfgparser.tex	18 May 2004 04:24:02 -0000	1.38
***************
*** 178,182 ****
  
  \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.
  If a file named in \var{filenames} cannot be opened, that file will be
--- 178,183 ----
  
  \begin{methoddesc}{read}{filenames}
! Attempt to read and parse a list of filenames, returning a list of filenames
! which were successfully parsed.  If \var{filenames} is a string or
  Unicode string, it is treated as a single filename.
  If a file named in \var{filenames} cannot be opened, that file will be
***************
*** 198,201 ****
--- 199,203 ----
  config.read(['site.cfg', os.path.expanduser('~/.myapp.cfg')])
  \end{verbatim}
+ \versionchanged[Returns list of successfully parsed filenames]{2.4}
  \end{methoddesc}
  




More information about the Python-checkins mailing list