From 76dea27421916d3af77273a2e724ffef0d146bdd Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Sun, 19 Feb 2012 12:28:01 +0100 Subject: [PATCH] Indent 'File' in memoryview example, so it is correctly highlighted --- 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 91f8d69cf2e..5f5d3b6ce75 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.