From: Georg Brandl Date: Sun, 17 May 2009 08:10:27 +0000 (+0000) Subject: part of #4144: fix exception message in console session. X-Git-Tag: v2.7a1~1169 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e88eea994804b700ca71c432af08a525f85cbf2;p=python part of #4144: fix exception message in console session. --- diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 21d3627657..23ff5229e9 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -285,11 +285,11 @@ position in the string results in an error:: >>> word[0] = 'x' Traceback (most recent call last): File "", line 1, in ? - TypeError: object doesn't support item assignment + TypeError: object does not support item assignment >>> word[:1] = 'Splat' Traceback (most recent call last): File "", line 1, in ? - TypeError: object doesn't support slice assignment + TypeError: object does not support slice assignment However, creating a new string with the combined content is easy and efficient::