bpo-36416: Correct bytes.rpartition documentation (GH-12543)

This commit is contained in:
pewscorner 2019-04-11 08:58:43 +02:00 committed by Inada Naoki
parent 5410d3d283
commit efc4870149

View file

@ -2696,8 +2696,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`.