diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-06-23 03:09:33 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-06-23 03:09:33 +0000 |
commit | 5250401bd0223ce03f9e5ea36edd13798ba77187 (patch) | |
tree | 1fdf4a96b9e5336378dd88c90ba0843ab9dcf559 /Doc | |
parent | b48f63433eca50588597d70cfe140e07e3bc085f (diff) | |
download | cpython-git-5250401bd0223ce03f9e5ea36edd13798ba77187.tar.gz |
must be bytes
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index a526cf31c7..bd02b37360 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2342,7 +2342,7 @@ simple bytes or complex data structures. >>> v = memoryview(data) >>> v.readonly False - >>> v[0] = 'z' + >>> v[0] = b'z' >>> data bytearray(b'zbcefg') >>> v[1:4] = b'123' |