mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
merge from trunk
This commit is contained in:
parent
2d8dcdcb06
commit
f10a79aad4
40 changed files with 621 additions and 305 deletions
|
@ -7300,7 +7300,7 @@ unicode_length(PyUnicodeObject *self)
|
|||
PyDoc_STRVAR(ljust__doc__,
|
||||
"S.ljust(width[, fillchar]) -> str\n\
|
||||
\n\
|
||||
Return S left justified in a Unicode string of length width. Padding is\n\
|
||||
Return S left-justified in a Unicode string of length width. Padding is\n\
|
||||
done using the specified fill character (default is a space).");
|
||||
|
||||
static PyObject *
|
||||
|
@ -7815,7 +7815,7 @@ unicode_rindex(PyUnicodeObject *self, PyObject *args)
|
|||
PyDoc_STRVAR(rjust__doc__,
|
||||
"S.rjust(width[, fillchar]) -> str\n\
|
||||
\n\
|
||||
Return S right justified in a string of length width. Padding is\n\
|
||||
Return S right-justified in a string of length width. Padding is\n\
|
||||
done using the specified fill character (default is a space).");
|
||||
|
||||
static PyObject *
|
||||
|
@ -7945,7 +7945,7 @@ PyDoc_STRVAR(partition__doc__,
|
|||
\n\
|
||||
Search for the separator sep in S, and return the part before it,\n\
|
||||
the separator itself, and the part after it. If the separator is not\n\
|
||||
found, returns S and two empty strings.");
|
||||
found, return S and two empty strings.");
|
||||
|
||||
static PyObject*
|
||||
unicode_partition(PyUnicodeObject *self, PyObject *separator)
|
||||
|
@ -7958,7 +7958,7 @@ PyDoc_STRVAR(rpartition__doc__,
|
|||
\n\
|
||||
Search for the separator sep in S, starting at the end of S, and return\n\
|
||||
the part before it, the separator itself, and the part after it. If the\n\
|
||||
separator is not found, returns two empty strings and S.");
|
||||
separator is not found, return two empty strings and S.");
|
||||
|
||||
static PyObject*
|
||||
unicode_rpartition(PyUnicodeObject *self, PyObject *separator)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue