Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 77292:2fbee0b741f7 2.7
Improve tooltips for splitlines() by showing that the default for keepends is False.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Sat, 02 Jun 2012 01:42:58 -0400 |
| parents | a11a2bbd8241 |
| children | 2801bf875a24 |
line wrap: on
line diff
--- a/Objects/stringobject.c Fri Jun 01 16:21:06 2012 -0400 +++ b/Objects/stringobject.c Sat Jun 02 01:42:58 2012 -0400 @@ -3545,7 +3545,7 @@ PyDoc_STRVAR(splitlines__doc__, -"S.splitlines([keepends]) -> list of strings\n\ +"S.splitlines(keepends=False) -> list of strings\n\ \n\ Return a list of the lines in S, breaking at line boundaries.\n\ Line breaks are not included in the resulting list unless keepends\n\
