]> granicus.if.org Git - python/commitdiff
Merged revisions 72703 via svnmerge from
authorGeorg Brandl <georg@python.org>
Sun, 17 May 2009 08:18:02 +0000 (08:18 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 17 May 2009 08:18:02 +0000 (08:18 +0000)
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.
........

Doc/tutorial/introduction.rst

index c0f4156436e76b2f1877c0b5c294135fb07f37c2..a99db19fe1b6282594a366bbb02c8553c1df6eb3 100644 (file)
@@ -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::