Commit 76dea274 authored by Sandro Tosi's avatar Sandro Tosi

Indent 'File' in memoryview example, so it is correctly highlighted

parent 496c53d8
...@@ -2378,7 +2378,7 @@ copying. Memory is generally interpreted as simple bytes. ...@@ -2378,7 +2378,7 @@ copying. Memory is generally interpreted as simple bytes.
bytearray(b'z123fg') bytearray(b'z123fg')
>>> v[2] = b'spam' >>> v[2] = b'spam'
Traceback (most recent call last): Traceback (most recent call last):
File "<stdin>", line 1, in <module> File "<stdin>", line 1, in <module>
ValueError: cannot modify size of memoryview object ValueError: cannot modify size of memoryview object
Notice how the size of the memoryview object cannot be changed. Notice how the size of the memoryview object cannot be changed.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment