mirror of
https://github.com/python/cpython.git
synced 2025-09-22 00:12:56 +00:00
Improve tooltips for splitlines() by showing that the default for keepends is False.
This commit is contained in:
parent
4fbf7c61fe
commit
aad5b02e62
3 changed files with 3 additions and 3 deletions
|
@ -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\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue