diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c index 03604633a01..4ac0ae75aed 100644 --- a/Objects/bytearrayobject.c +++ b/Objects/bytearrayobject.c @@ -2649,7 +2649,7 @@ bytearray_join(PyByteArrayObject *self, PyObject *it) } PyDoc_STRVAR(splitlines__doc__, -"B.splitlines([keepends]) -> list of lines\n\ +"B.splitlines(keepends=False) -> list of lines\n\ \n\ Return a list of the lines in B, breaking at line boundaries.\n\ Line breaks are not included in the resulting list unless keepends\n\ diff --git a/Objects/stringobject.c b/Objects/stringobject.c index ab377dd7a2d..fd2f63001d9 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -3545,7 +3545,7 @@ string_istitle(PyStringObject *self, PyObject *uncased) 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\ diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 3dfbea1cc52..7af7b50a946 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\