diff options
author | Guido van Rossum <guido@python.org> | 2003-04-09 19:32:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2003-04-09 19:32:45 (GMT) |
commit | a7132189d20f2c910810d1da97283157dddb9104 (patch) | |
tree | 6b5e8cd21371055b68b602d2fa8a9f99a586ba09 /Objects | |
parent | 69c2b883922a758ed84de2cf94b5485d7e078fd3 (diff) | |
download | cpython-a7132189d20f2c910810d1da97283157dddb9104.zip cpython-a7132189d20f2c910810d1da97283157dddb9104.tar.gz cpython-a7132189d20f2c910810d1da97283157dddb9104.tar.bz2 |
Reformat a few docstrings that caused line wraps in help() output.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/stringobject.c | 12 | ||||
-rw-r--r-- | Objects/unicodeobject.c | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 2613c62..ac4ad04 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) 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, |