fix error in memoryview example; thanks to kan lianlian from docs@
authorSandro Tosi <sandro.tosi@gmail.com>
Sat, 18 Feb 2012 15:05:34 +0000 (16:05 +0100)
committerSandro Tosi <sandro.tosi@gmail.com>
Sat, 18 Feb 2012 15:05:34 +0000 (16:05 +0100)
Doc/library/stdtypes.rst

index 2714633fa4c92021c639648b2bc0ea34f5739aa5..91f8d69cf2ebf035ecf73241bc05fb8bed0b91ab 100644 (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>