diff options
author | Georg Brandl <georg@python.org> | 2009-05-17 08:18:02 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-05-17 08:18:02 (GMT) |
commit | 7fcb3bfadd054b3b55e03c0b878ab365b1d1fa41 (patch) | |
tree | 5a7e91ea8aa0d65435961e53841890fa73e92088 /Doc | |
parent | 397ad860e9b2c909a9cef6d5a0d55e0211353b37 (diff) | |
download | cpython-7fcb3bfadd054b3b55e03c0b878ab365b1d1fa41.zip cpython-7fcb3bfadd054b3b55e03c0b878ab365b1d1fa41.tar.gz cpython-7fcb3bfadd054b3b55e03c0b878ab365b1d1fa41.tar.bz2 |
Merged revisions 72703 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72703 | georg.brandl | 2009-05-17 10:10:27 +0200 (So, 17 Mai 2009) | 1 line
part of #4144: fix exception message in console session.
........
Diffstat (limited to 'Doc')
-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 c0f4156..a99db19 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 "<stdin>", 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 "<stdin>", 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:: |