]> granicus.if.org Git - python/commitdiff
Indent 'File' in memoryview example, so it is correctly highlighted
authorSandro Tosi <sandro.tosi@gmail.com>
Sun, 19 Feb 2012 11:28:01 +0000 (12:28 +0100)
committerSandro Tosi <sandro.tosi@gmail.com>
Sun, 19 Feb 2012 11:28:01 +0000 (12:28 +0100)
Doc/library/stdtypes.rst

index 91f8d69cf2ebf035ecf73241bc05fb8bed0b91ab..5f5d3b6ce759579106f2900e5e3b5cbaa0d5a05b 100644 (file)
@@ -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 "<stdin>", line 1, in <module>
+        File "<stdin>", line 1, in <module>
       ValueError: cannot modify size of memoryview object
 
    Notice how the size of the memoryview object cannot be changed.