Commit c33ae06c authored by Sandro Tosi's avatar Sandro Tosi

fix error in memoryview example; thanks to kan lianlian from docs@

parent cd96b4f1
......@@ -2375,7 +2375,7 @@ copying. Memory is generally interpreted as simple bytes.
bytearray(b'zbcefg')
>>> v[1:4] = b'123'
>>> data
bytearray(b'a123fg')
bytearray(b'z123fg')
>>> v[2] = b'spam'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment