From 5e88eea994804b700ca71c432af08a525f85cbf2 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 17 May 2009 08:10:27 +0000 Subject: part of #4144: fix exception message in console session. --- Doc/tutorial/introduction.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 21d3627..23ff522 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:: -- cgit v0.12