Commits

Benjamin Peterson committed 1732a54

must be bytes

  • Participants
  • Parent commits 5cb4e51

Comments (0)

Files changed (1)

File Doc/library/stdtypes.rst

       >>> v = memoryview(data)
       >>> v.readonly
       False
-      >>> v[0] = 'z'
+      >>> v[0] = b'z'
       >>> data
       bytearray(b'zbcefg')
       >>> v[1:4] = b'123'