From c33ae06cbf9deae1ef6bb56d59c710c0b55b61f0 Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Sat, 18 Feb 2012 16:05:34 +0100 Subject: [PATCH] fix error in memoryview example; thanks to kan lianlian from docs@ --- Doc/library/stdtypes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 2714633fa4c..91f8d69cf2e 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 "", line 1, in