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

This commit is contained in:
Sandro Tosi 2012-02-18 16:05:34 +01:00
parent cd96b4f1ff
commit c33ae06cbf
1 changed files with 1 additions and 1 deletions

View File

@ -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>