mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Reformat a few docstrings that caused line wraps in help() output.
This commit is contained in:
parent
69c2b88392
commit
a7132189d2
2 changed files with 12 additions and 12 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue