diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index c0f4156436e..a99db19fe1b 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -296,11 +296,11 @@ position in the string results in an error:: >>> word[0] = 'x' Traceback (most recent call last): File "", line 1, in ? - TypeError: 'str' object doesn't support item assignment + TypeError: 'str' object does not support item assignment >>> word[:1] = 'Splat' Traceback (most recent call last): File "", line 1, in ? - TypeError: 'str' object doesn't support slice assignment + TypeError: 'str' object does not support slice assignment However, creating a new string with the combined content is easy and efficient::