Skip to content

Commit 3d17779

Browse files
committed
2 parents dc4b2f1 + 76a2ad7 commit 3d17779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/bytes_object.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ behaviours to Python 3's :class:`bytes`::
4747
b = bytes(b'ABCD')
4848
assert list(b) == [65, 66, 67, 68]
4949
assert repr(b) == "b'ABCD'"
50-
assert b.split(b'b') == [b'A', b'CD']
50+
assert b.split(b'B') == [b'A', b'CD']
5151

5252
Currently the easiest way to ensure identical behaviour of byte-strings
5353
in a Py2/3 codebase is to wrap all byte-string literals ``b'...'`` in a

0 commit comments

Comments
 (0)