diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index aab8d2e31bdbe5ff2d10e40202e1d657c658b4d6..a07be4f91f58c0c9836fc0da16e70e1b37846feb 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2424,7 +2424,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.