merge with 3.2
This commit is contained in:
commit
1ee86a1515
|
@ -2424,7 +2424,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.
|
||||||
|
|
Loading…
Reference in New Issue