From: Sandro Tosi Date: Sun, 19 Feb 2012 11:28:01 +0000 (+0100) Subject: Indent 'File' in memoryview example, so it is correctly highlighted X-Git-Tag: v3.2.3rc1~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76dea27421916d3af77273a2e724ffef0d146bdd;p=python Indent 'File' in memoryview example, so it is correctly highlighted --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 91f8d69cf2..5f5d3b6ce7 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2378,7 +2378,7 @@ copying. Memory is generally interpreted as simple bytes. bytearray(b'z123fg') >>> v[2] = b'spam' Traceback (most recent call last): - File "", line 1, in + File "", line 1, in ValueError: cannot modify size of memoryview object Notice how the size of the memoryview object cannot be changed.