summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-02-18 15:05:34 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-02-18 15:05:34 (GMT)
commitc33ae06cbf9deae1ef6bb56d59c710c0b55b61f0 (patch)
tree9064009ae6e4fb4d7e2c3d827f5a6e863ea67e0f
parentcd96b4f1ff4dd3a97eedbcea8a837388c0cb8345 (diff)
downloadcpython-c33ae06cbf9deae1ef6bb56d59c710c0b55b61f0.zip
cpython-c33ae06cbf9deae1ef6bb56d59c710c0b55b61f0.tar.gz
cpython-c33ae06cbf9deae1ef6bb56d59c710c0b55b61f0.tar.bz2
fix error in memoryview example; thanks to kan lianlian from docs@
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 2714633..91f8d69 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -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>