summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index b167a1d..847580c 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -5693,9 +5693,9 @@ unicode_freelistsize(PyUnicodeObject *self)
PyDoc_STRVAR(startswith__doc__,
"S.startswith(prefix[, start[, end]]) -> bool\n\
\n\
-Return True if S starts with the specified prefix, False otherwise. With\n\
-optional start, test S beginning at that position. With optional end, stop\n\
-comparing S at that position.");
+Return True if S starts with the specified prefix, False otherwise.\n\
+With optional start, test S beginning at that position.\n\
+With optional end, stop comparing S at that position.");
static PyObject *
unicode_startswith(PyUnicodeObject *self,
@@ -5724,9 +5724,9 @@ unicode_startswith(PyUnicodeObject *self,
PyDoc_STRVAR(endswith__doc__,
"S.endswith(suffix[, start[, end]]) -> bool\n\
\n\
-Return True if S ends with the specified suffix, False otherwise. With\n\
-optional start, test S beginning at that position. With optional end, stop\n\
-comparing S at that position.");
+Return True if S ends with the specified suffix, False otherwise.\n\
+With optional start, test S beginning at that position.\n\
+With optional end, stop comparing S at that position.");
static PyObject *
unicode_endswith(PyUnicodeObject *self,