summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2012-06-02 05:42:58 (GMT)
committerRaymond Hettinger <python@rcn.com>2012-06-02 05:42:58 (GMT)
commitaad5b02e621a64560af56937523e0072701e8c86 (patch)
tree1213d97baea877e207657a27fb701ce2ffc23dad /Objects/unicodeobject.c
parent4fbf7c61fea1cdce8487ed9582ab9ba73fcf53ea (diff)
downloadcpython-aad5b02e621a64560af56937523e0072701e8c86.zip
cpython-aad5b02e621a64560af56937523e0072701e8c86.tar.gz
cpython-aad5b02e621a64560af56937523e0072701e8c86.tar.bz2
Improve tooltips for splitlines() by showing that the default for keepends is False.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 3dfbea1..7af7b50 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7521,7 +7521,7 @@ unicode_rsplit(PyUnicodeObject *self, PyObject *args)
}
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\