summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorpewscorner <pewscorner@users.noreply.github.com>2019-04-11 06:58:43 (GMT)
committerInada Naoki <songofacandy@gmail.com>2019-04-11 06:58:43 (GMT)
commitefc48701496ef020e896fc6a91af3c0c612ac69a (patch)
treeecdf9ab2ca7981f35d495cca936ba1e12b5ac745 /Doc
parent5410d3d283b11e2375f0c1f79728a230edd12bd0 (diff)
downloadcpython-efc48701496ef020e896fc6a91af3c0c612ac69a.zip
cpython-efc48701496ef020e896fc6a91af3c0c612ac69a.tar.gz
cpython-efc48701496ef020e896fc6a91af3c0c612ac69a.tar.bz2
bpo-36416: Correct bytes.rpartition documentation (GH-12543)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 66915a7..bae989e 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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`.