mirror of
https://github.com/python/cpython.git
synced 2025-09-30 20:31:52 +00:00
bpo-36416: Correct bytes.rpartition documentation (GH-12543)
This commit is contained in:
parent
5410d3d283
commit
efc4870149
1 changed files with 2 additions and 2 deletions
|
@ -2696,8 +2696,8 @@ arbitrary binary data.
|
||||||
containing the part before the separator, the separator itself or its
|
containing the part before the separator, the separator itself or its
|
||||||
bytearray copy, and the part after the separator.
|
bytearray copy, and the part after the separator.
|
||||||
If the separator is not found, return a 3-tuple
|
If the separator is not found, return a 3-tuple
|
||||||
containing a copy of the original sequence, followed by two empty bytes or
|
containing two empty bytes or bytearray objects, followed by a copy of the
|
||||||
bytearray objects.
|
original sequence.
|
||||||
|
|
||||||
The separator to search for may be any :term:`bytes-like object`.
|
The separator to search for may be any :term:`bytes-like object`.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue