mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
#7775: fixed docstring for rpartition
This commit is contained in:
parent
47b66590f6
commit
1fafaab5e5
3 changed files with 3 additions and 3 deletions
|
|
@ -1495,7 +1495,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\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue