From ad5a0f84823ea1a62c483a1cd77d08911db718e6 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Wed, 26 Jan 2005 22:46:26 +0000 Subject: SF bug #1108303: fix .split() maxsplit doc Docs incorrectly stated that maxsplit=0 would cause unlimited splitting. --- Doc/lib/libstdtypes.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(',')} -- cgit v0.12