commit | 5250401bd0223ce03f9e5ea36edd13798ba77187 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Jun 23 03:09:33 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Jun 23 03:09:33 2009 +0000 |
tree | 1fdf4a96b9e5336378dd88c90ba0843ab9dcf559 | |
parent | b48f63433eca50588597d70cfe140e07e3bc085f [diff] |
must be bytes
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index a526cf3..bd02b37 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst
@@ -2342,7 +2342,7 @@ >>> v = memoryview(data) >>> v.readonly False - >>> v[0] = 'z' + >>> v[0] = b'z' >>> data bytearray(b'zbcefg') >>> v[1:4] = b'123'