Skip to content

Commit 04b114e

Browse files
bpo-36416: Correct bytes.rpartition documentation (GH-12543)
(cherry picked from commit efc4870) Co-authored-by: pewscorner <[email protected]>
1 parent a8c4fa5 commit 04b114e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/stdtypes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2677,8 +2677,8 @@ arbitrary binary data.
26772677
containing the part before the separator, the separator itself or its
26782678
bytearray copy, and the part after the separator.
26792679
If the separator is not found, return a 3-tuple
2680-
containing a copy of the original sequence, followed by two empty bytes or
2681-
bytearray objects.
2680+
containing two empty bytes or bytearray objects, followed by a copy of the
2681+
original sequence.
26822682

26832683
The separator to search for may be any :term:`bytes-like object`.
26842684

0 commit comments

Comments
 (0)