From: Sandro Tosi Date: Sat, 18 Feb 2012 15:05:34 +0000 (+0100) Subject: fix error in memoryview example; thanks to kan lianlian from docs@ X-Git-Tag: v3.2.3rc1~42 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c33ae06cbf9deae1ef6bb56d59c710c0b55b61f0;p=python fix error in memoryview example; thanks to kan lianlian from docs@ --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 2714633fa4..91f8d69cf2 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