Improve tooltips for splitlines() by showing that the default for keepends is False.
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c
index 0360463..4ac0ae7 100644
--- a/Objects/bytearrayobject.c
+++ b/Objects/bytearrayobject.c
@@ -2649,7 +2649,7 @@
}
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 ab377dd..fd2f630 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -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\
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 @@
}
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\