[Python-checkins] python/dist/src/Doc/lib libstring.tex,1.56,1.57

mondragon at users.sourceforge.net mondragon at users.sourceforge.net
Sun Mar 21 12:00:02 EST 2004

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

Modified Files:
Log Message:
Modified string.split documentation to reflect behaviour of splitting emtpy string.  Closes SF bug #811604

Index: libstring.tex
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstring.tex,v
retrieving revision 1.56
retrieving revision 1.57
diff -C2 -d -r1.56 -r1.57
*** libstring.tex	30 Dec 2003 23:08:14 -0000	1.56
--- libstring.tex	21 Mar 2004 16:59:59 -0000	1.57
*** 214,217 ****
--- 214,222 ----
    the list (thus, the list will have at most \code{\var{maxsplit}+1}
+   The behavior of split on an empty string depends on the value of \var{sep}.
+   If \var{sep} is not specified, or specified as \code{None}, the result will
+   be an empty list.  If \var{sep} is specified as any string, the result will
+   be a list containing one element which is an empty string.

More information about the Python-checkins mailing list