diff options
author | Guido van Rossum <guido@python.org> | 2003-04-09 19:32:45 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-04-09 19:32:45 +0000 |
commit | b2a3891ac9e72b7f781f3437c0c8045ded03d658 (patch) | |
tree | 9af3b78806c280772bf3673a2493365edc69e7b6 /Objects/stringobject.c | |
parent | b8007af53197e74f2420fb36b835469ca942a838 (diff) | |
download | cpython-b2a3891ac9e72b7f781f3437c0c8045ded03d658.tar.gz |
Reformat a few docstrings that caused line wraps in help() output.
Diffstat (limited to 'Objects/stringobject.c')
-rw-r--r-- | Objects/stringobject.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 2613c626e2..ac4ad04f39 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -2381,9 +2381,9 @@ string_replace(PyStringObject *self, PyObject *args) 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 * string_startswith(PyStringObject *self, PyObject *args) @@ -2432,9 +2432,9 @@ string_startswith(PyStringObject *self, PyObject *args) 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 * string_endswith(PyStringObject *self, PyObject *args) |