diff Objects/stringobject.c @ 46908:ed2c1888e143 legacy-trunk

#2809 followup: even better split docstring.
author Georg Brandl <georg@python.org>
date Sun, 11 May 2008 20:53:55 +0000
parents 206700d749f0
children 04bd3690fb1f
line wrap: on
line diff
--- a/Objects/stringobject.c	Sun May 11 20:30:43 2008 +0000
+++ b/Objects/stringobject.c	Sun May 11 20:53:55 2008 +0000
@@ -1502,8 +1502,8 @@
 Return a list of the words in the string S, using sep as the\n\
 delimiter string.  If maxsplit is given, at most maxsplit\n\
 splits are done. If sep is not specified or is None, any\n\
-whitespace string is a separator and leading and trailing\n\
-whitespace is stripped before splitting.");
+whitespace string is a separator and empty strings are removed\n\
+from the result.");
 
 static PyObject *
 string_split(PyStringObject *self, PyObject *args)