Mercurial > cpython-lru_cache-weakref
diff Objects/unicodeobject.c @ 28559:aff080f2efb4 legacy-trunk
Reformat a few docstrings that caused line wraps in help() output.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Wed, 09 Apr 2003 19:32:45 +0000 |
| parents | 32bea41fef68 |
| children | 215f1f4851a4 |
line wrap: on
line diff
--- a/Objects/unicodeobject.c Wed Apr 09 19:31:02 2003 +0000 +++ b/Objects/unicodeobject.c Wed Apr 09 19:32:45 2003 +0000 @@ -5693,9 +5693,9 @@ 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 @@ 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,
