merge with 3.2

This commit is contained in:
Sandro Tosi 2012-02-19 12:28:18 +01:00
commit 1ee86a1515
1 changed files with 1 additions and 1 deletions

View File

@ -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.