mirror of
https://github.com/python/cpython.git
synced 2025-08-19 08:11:46 +00:00
Merged revisions 77743 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77743 | ezio.melotti | 2010-01-25 13:24:37 +0200 (Mon, 25 Jan 2010) | 1 line #7775: fixed docstring for rpartition ........
This commit is contained in:
parent
00b9051a7e
commit
dabb5f7db9
3 changed files with 3 additions and 3 deletions
|
@ -2390,7 +2390,7 @@ bytes_partition(PyByteArrayObject *self, PyObject *sep_obj)
|
|||
}
|
||||
|
||||
PyDoc_STRVAR(rpartition__doc__,
|
||||
"B.rpartition(sep) -> (tail, sep, head)\n\
|
||||
"B.rpartition(sep) -> (head, sep, tail)\n\
|
||||
\n\
|
||||
Searches for the separator sep in B, starting at the end of B,\n\
|
||||
and returns the part before it, the separator itself, and the\n\
|
||||
|
|
|
@ -1620,7 +1620,7 @@ string_partition(PyStringObject *self, PyObject *sep_obj)
|
|||
}
|
||||
|
||||
PyDoc_STRVAR(rpartition__doc__,
|
||||
"S.rpartition(sep) -> (tail, sep, head)\n\
|
||||
"S.rpartition(sep) -> (head, sep, tail)\n\
|
||||
\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\
|
||||
|
|
|
@ -7603,7 +7603,7 @@ unicode_partition(PyUnicodeObject *self, PyObject *separator)
|
|||
}
|
||||
|
||||
PyDoc_STRVAR(rpartition__doc__,
|
||||
"S.rpartition(sep) -> (tail, sep, head)\n\
|
||||
"S.rpartition(sep) -> (head, sep, tail)\n\
|
||||
\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\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue