[Python-checkins] CVS: python/dist/src/Doc/lib libstdtypes.tex,1.69,1.70

Tim Peters tim_one@users.sourceforge.net
Sat, 22 Sep 2001 21:06:06 -0700


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

Modified Files:
	libstdtypes.tex 
Log Message:
Generalize file.writelines() to allow iterable objects.


Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.69
retrieving revision 1.70
diff -C2 -d -r1.69 -r1.70
*** libstdtypes.tex	2001/09/22 04:34:48	1.69
--- libstdtypes.tex	2001/09/23 04:06:04	1.70
***************
*** 1313,1318 ****
  \end{methoddesc}
  
! \begin{methoddesc}[file]{writelines}{list}
!   Write a list of strings to the file.  There is no return value.
    (The name is intended to match \method{readlines()};
    \method{writelines()} does not add line separators.)
--- 1313,1320 ----
  \end{methoddesc}
  
! \begin{methoddesc}[file]{writelines}{sequence}
!   Write a sequence of strings to the file.  The sequence can be any
!   iterable object producing strings, typically a list of strings.
!   There is no return value.
    (The name is intended to match \method{readlines()};
    \method{writelines()} does not add line separators.)