diff options
author | Georg Brandl <georg@python.org> | 2008-05-11 09:11:40 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-11 09:11:40 (GMT) |
commit | dfb77dbc70558dc16c3ac170fec684eecfb227a5 (patch) | |
tree | ed79bb073133178acc884a3b3c500606156f24e6 /Objects/unicodeobject.c | |
parent | 53905d8f7fbca1e6291daaa8dedc3e4278d37d4a (diff) | |
download | cpython-dfb77dbc70558dc16c3ac170fec684eecfb227a5.zip cpython-dfb77dbc70558dc16c3ac170fec684eecfb227a5.tar.gz cpython-dfb77dbc70558dc16c3ac170fec684eecfb227a5.tar.bz2 |
#2809: elaborate str.split docstring a bit.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index a8e0e11..935d8b6 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -7494,8 +7494,9 @@ PyDoc_STRVAR(split__doc__, \n\ 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,\n\ -any whitespace string is a separator."); +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."); static PyObject* unicode_split(PyUnicodeObject *self, PyObject *args) |