mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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
|
|
@ -2112,7 +2112,7 @@ bytearray_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\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue