diff options
author | Georg Brandl <georg@python.org> | 2009-05-17 08:10:27 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-17 08:10:27 (GMT) |
commit | 5e88eea994804b700ca71c432af08a525f85cbf2 (patch) | |
tree | 51abf5c15b32aa62e228652a0c7ed9baa3b4d945 /Doc/tutorial | |
parent | a4f90184dc6c5583416c2c6d4b9f098f2c7fd9db (diff) | |
download | cpython-5e88eea994804b700ca71c432af08a525f85cbf2.zip cpython-5e88eea994804b700ca71c432af08a525f85cbf2.tar.gz cpython-5e88eea994804b700ca71c432af08a525f85cbf2.tar.bz2 |
part of #4144: fix exception message in console session.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/introduction.rst | 4 |
1 files 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 "<stdin>", 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 "<stdin>", 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:: |