[Python-checkins]
python/dist/src/Doc/lib libstdtypes.tex, 1.170.2.3, 1.170.2.4
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Wed Jan 26 23:46:30 CET 2005
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11818
Modified Files:
Tag: release24-maint
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.170.2.3
retrieving revision 1.170.2.4
diff -u -d -r1.170.2.3 -r1.170.2.4
--- libstdtypes.tex 25 Jan 2005 10:28:47 -0000 1.170.2.3
+++ libstdtypes.tex 26 Jan 2005 22:46:26 -0000 1.170.2.4
@@ -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