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

Tim Peters tim_one@users.sourceforge.net
2001年9月22日 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.)

AltStyle によって変換されたページ (->オリジナル) /