summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-11 20:53:55 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-11 20:53:55 (GMT)
commitecbbd94e71d5e7dcf68d344f77b7a24331823dfc (patch)
tree4f7b7e999a27e4b82939b71aa5f62088de4917fa /Objects/unicodeobject.c
parent8940ecd39d2ae53b8bfe1a0124eb4788ab506306 (diff)
downloadcpython-ecbbd94e71d5e7dcf68d344f77b7a24331823dfc.zip
cpython-ecbbd94e71d5e7dcf68d344f77b7a24331823dfc.tar.gz
cpython-ecbbd94e71d5e7dcf68d344f77b7a24331823dfc.tar.bz2
#2809 followup: even better split docstring.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 935d8b6..6d693fe 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7495,8 +7495,8 @@ PyDoc_STRVAR(split__doc__,
Return a list of the words in 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\n\
+removed from the result.");
static PyObject*
unicode_split(PyUnicodeObject *self, PyObject *args)