diff options
-rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 91f8d69..5f5d3b6 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -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. |