[Python-checkins] python/nondist/sandbox/csv libcsv.tex,1.1,1.2

montanaro@users.sourceforge.net montanaro@users.sourceforge.net
Sun, 02 Feb 2003 22:21:09 -0800


Update of /cvsroot/python/python/nondist/sandbox/csv
In directory sc8-pr-cvs1:/tmp/cvs-serv16625

Modified Files:
	libcsv.tex 
Log Message:
tracking write()/writelines()/CSVError to writerow()/writerows()/Error.


Index: libcsv.tex
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/csv/libcsv.tex,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** libcsv.tex	3 Feb 2003 03:09:28 -0000	1.1
--- libcsv.tex	3 Feb 2003 06:21:07 -0000	1.2
***************
*** 23,26 ****
--- 23,27 ----
  CSV formats.
  
+ 
  \subsection{Relationship to other Python modules}
  
***************
*** 80,83 ****
--- 81,90 ----
  \end{funcdesc}
  
+ The \module{csv} module defines the following exception.
+ 
+ \begin{excdesc}{Error}
+ Raised by any of the functions when an error is detected.
+ \end{excdesc}
+ 
  The \module{csv} module defines the following constants.
  
***************
*** 103,106 ****
--- 110,114 ----
  \end{datadesc}
  
+ 
  \subsection{Dialects and Formatting Parameters\label{fmt-params}}
  
***************
*** 114,117 ****
--- 122,126 ----
  individual formatting parameters, described in the following section.
  
+ 
  \subsubsection{Formatting Parameters} 
  
***************
*** 159,162 ****
--- 168,172 ----
  \end{description}
  
+ 
  \subsection{Reader Objects}
  
***************
*** 168,188 ****
  \end{methoddesc}
  
  \subsection{Writer Objects}
  
  \class{Writer} objects have the following public methods.
  
! \begin{methoddesc}{write}{row}
  Write the \var{row} parameter to the writer's file object, formatted
  according to the current dialect.
  \end{methoddesc}
  
! \begin{methoddesc}{writelines}{rows}
  Write all the \var{rows} parameters to the writer's file object, formatted
  according to the current dialect.
  \end{methoddesc}
  
- \begin{methoddesc}{close}{}
- Close the underlying file object.
- \end{methoddesc}
  
  \subsection{Examples}
--- 178,196 ----
  \end{methoddesc}
  
+ 
  \subsection{Writer Objects}
  
  \class{Writer} objects have the following public methods.
  
! \begin{methoddesc}{writerow}{row}
  Write the \var{row} parameter to the writer's file object, formatted
  according to the current dialect.
  \end{methoddesc}
  
! \begin{methoddesc}{writerows}{rows}
  Write all the \var{rows} parameters to the writer's file object, formatted
  according to the current dialect.
  \end{methoddesc}
  
  
  \subsection{Examples}
***************
*** 201,205 ****
      writer = csv.writer(file("some.csv", "w"))
      for row in someiterable:
!         writer.write(row)
  \end{verbatim}
  
--- 209,213 ----
      writer = csv.writer(file("some.csv", "w"))
      for row in someiterable:
!         writer.writerow(row)
  \end{verbatim}