summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-01-26 22:40:08 (GMT)
committerRaymond Hettinger <python@rcn.com>2005-01-26 22:40:08 (GMT)
commitbc029af436f90723e5b5bda4b9842d19153fe0a3 (patch)
tree38b0cd71847e1edfbb914c27b501b8692c63096a /Doc/lib
parent9feb267cafb9452826694e5e098317c8b2799fe8 (diff)
downloadcpython-bc029af436f90723e5b5bda4b9842d19153fe0a3.zip
cpython-bc029af436f90723e5b5bda4b9842d19153fe0a3.tar.gz
cpython-bc029af436f90723e5b5bda4b9842d19153fe0a3.tar.bz2
SF bug #1108303: fix .split() maxsplit doc
Docs incorrectly stated that maxsplit=0 would cause unlimited splitting.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libstdtypes.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex
index f67b16d..6355731 100644
--- a/Doc/lib/libstdtypes.tex
+++ b/Doc/lib/libstdtypes.tex
@@ -757,7 +757,7 @@ string this method is called on.
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(',')}