[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
- Previous message: [Python-checkins] CVS: python/dist/src/Lib/test/data PyBanner048.gif,NONE,1.1 msg_01.txt,NONE,1.1 msg_02.txt,NONE,1.1 msg_03.txt,NONE,1.1 msg_04.txt,NONE,1.1 msg_05.txt,NONE,1.1 msg_06.txt,NONE,1.1 msg_07.txt,NONE,1.1 msg_08.txt,NONE,1.1 msg_09.txt,NONE,1.1 msg_10.txt,NONE,1.1 msg_11.txt,NONE,1.1 msg_12.txt,NONE,1.1 msg_13.txt,NONE,1.1 msg_14.txt,NONE,1.1 msg_15.txt,NONE,1.1
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_iter.py,1.20,1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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.)
- Previous message: [Python-checkins] CVS: python/dist/src/Lib/test/data PyBanner048.gif,NONE,1.1 msg_01.txt,NONE,1.1 msg_02.txt,NONE,1.1 msg_03.txt,NONE,1.1 msg_04.txt,NONE,1.1 msg_05.txt,NONE,1.1 msg_06.txt,NONE,1.1 msg_07.txt,NONE,1.1 msg_08.txt,NONE,1.1 msg_09.txt,NONE,1.1 msg_10.txt,NONE,1.1 msg_11.txt,NONE,1.1 msg_12.txt,NONE,1.1 msg_13.txt,NONE,1.1 msg_14.txt,NONE,1.1 msg_15.txt,NONE,1.1
- Next message: [Python-checkins] CVS: python/dist/src/Lib/test test_iter.py,1.20,1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]