Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 46871:877783333eae legacy-trunk
#2809: elaborate str.split docstring a bit.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 11 May 2008 09:11:40 +0000 |
| parents | 1aaab32183f2 |
| children | ed2c1888e143 |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Sun May 11 09:06:30 2008 +0000 +++ b/Objects/unicodeobject.c Sun May 11 09:11:40 2008 +0000 @@ -7494,8 +7494,9 @@ \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)
