]> granicus.if.org Git - python/commitdiff
part of #4144: fix exception message in console session.
authorGeorg Brandl <georg@python.org>
Sun, 17 May 2009 08:10:27 +0000 (08:10 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 17 May 2009 08:10:27 +0000 (08:10 +0000)
Doc/tutorial/introduction.rst

index 21d36276574741c45f78f36c1782640c5357e4b9..23ff5229e9c72fbe067264465d00604d6b5ec877 100644 (file)
@@ -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::