mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Indent 'File' in memoryview example, so it is correctly highlighted
This commit is contained in:
parent
496c53d83e
commit
76dea27421
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue