We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ec5a7c0 + 952874f commit 76a2ad7Copy full SHA for 76a2ad7
1 file changed
docs/bytes_object.rst
@@ -47,7 +47,7 @@ behaviours to Python 3's :class:`bytes`::
47
b = bytes(b'ABCD')
48
assert list(b) == [65, 66, 67, 68]
49
assert repr(b) == "b'ABCD'"
50
- assert b.split(b'b') == [b'A', b'CD']
+ assert b.split(b'B') == [b'A', b'CD']
51
52
Currently the easiest way to ensure identical behaviour of byte-strings
53
in a Py2/3 codebase is to wrap all byte-string literals ``b'...'`` in a
0 commit comments