[Python-checkins] python/dist/src/Doc/lib libcsv.tex,1.11,1.12

montanaro at users.sourceforge.net montanaro at users.sourceforge.net
Wed Jan 21 08:47:06 EST 2004


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

Modified Files:
	libcsv.tex 
Log Message:
expand on notion of row object type


Index: libcsv.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcsv.tex,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** libcsv.tex	21 Jan 2004 13:34:35 -0000	1.11
--- libcsv.tex	21 Jan 2004 13:47:04 -0000	1.12
***************
*** 286,291 ****
  \subsection{Writer Objects}
  
! Writer objects (\class{DictWriter} instances and objects returned by
! the \function{writer()} function) have the following public methods:
  
  \begin{methoddesc}[csv writer]{writerow}{row}
--- 286,297 ----
  \subsection{Writer Objects}
  
! \class{Writer} objects (\class{DictWriter} instances and objects returned by
! the \function{writer()} function) have the following public methods.  A
! {}\var{row} must be a sequence of strings or numbers for \class{Writer}
! objects and a dictionary mapping fieldnames to strings or numbers (by
! passing them through \function{str()} first) for {}\class{DictWriter}
! objects.  Note that complex numbers are written out surrounded by parens.
! This may cause some problems for other programs which read CSV files
! (assuming they support complex numbers at all).
  
  \begin{methoddesc}[csv writer]{writerow}{row}
***************
*** 295,299 ****
  
  \begin{methoddesc}[csv writer]{writerows}{rows}
! Write all the \var{rows} parameters to the writer's file object, formatted
  according to the current dialect.
  \end{methoddesc}
--- 301,306 ----
  
  \begin{methoddesc}[csv writer]{writerows}{rows}
! Write all the \var{rows} parameters (a list of \var{row} objects as
! described above) to the writer's file object, formatted
  according to the current dialect.
  \end{methoddesc}





More information about the Python-checkins mailing list