[Python-checkins] python/dist/src/Doc/lib libstdtypes.tex, 1.173, 1.174

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Wed Jan 26 23:40:11 CET 2005


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9933

Modified Files:
	libstdtypes.tex 
Log Message:
SF bug #1108303:  fix .split() maxsplit doc

Docs incorrectly stated that maxsplit=0 would cause unlimited splitting.



Index: libstdtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v
retrieving revision 1.173
retrieving revision 1.174
diff -u -d -r1.173 -r1.174
--- libstdtypes.tex	25 Jan 2005 10:21:19 -0000	1.173
+++ libstdtypes.tex	26 Jan 2005 22:40:08 -0000	1.174
@@ -757,7 +757,7 @@
 Return a list of the words in the string, using \var{sep} as the
 delimiter string.  If \var{maxsplit} is given, at most \var{maxsplit}
 splits are done. (thus, the list will have at most \code{\var{maxsplit}+1}
-elements).  If \var{maxsplit} is not specified or is zero, then there
+elements).  If \var{maxsplit} is not specified, then there
 is no limit on the number of splits (all possible splits are made).
 Consecutive delimiters are not grouped together and are
 deemed to delimit empty strings (for example, \samp{'1,,2'.split(',')}



More information about the Python-checkins mailing list