diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index f06f579a9a4..4e1f7a7fe6d 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2459,7 +2459,7 @@ copying. bytearray(b'z123fg') >>> v[2:3] = b'spam' Traceback (most recent call last): - File "", line 1, in + File "", line 1, in ValueError: memoryview assignment: lvalue and rvalue have different structures >>> v[2:6] = b'spam' >>> data