diff options
-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 a526cf3..bd02b37 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' |