bpo-36416: Correct bytes.rpartition documentation (GH-12543)
(cherry picked from commit efc4870149
)
Co-authored-by: pewscorner <pewscorner@users.noreply.github.com>
This commit is contained in:
parent
a8c4fa5319
commit
04b114eede
|
@ -2677,8 +2677,8 @@ arbitrary binary data.
|
|||
containing the part before the separator, the separator itself or its
|
||||
bytearray copy, and the part after the separator.
|
||||
If the separator is not found, return a 3-tuple
|
||||
containing a copy of the original sequence, followed by two empty bytes or
|
||||
bytearray objects.
|
||||
containing two empty bytes or bytearray objects, followed by a copy of the
|
||||
original sequence.
|
||||
|
||||
The separator to search for may be any :term:`bytes-like object`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue