[Python-checkins] r72703 - python/trunk/Doc/tutorial/introduction.rst

georg.brandl python-checkins at python.org
Sun May 17 10:10:27 CEST 2009


Author: georg.brandl
Date: Sun May 17 10:10:27 2009
New Revision: 72703

Log:
part of #4144: fix exception message in console session.

Modified:
   python/trunk/Doc/tutorial/introduction.rst

Modified: python/trunk/Doc/tutorial/introduction.rst
==============================================================================
--- python/trunk/Doc/tutorial/introduction.rst	(original)
+++ python/trunk/Doc/tutorial/introduction.rst	Sun May 17 10:10:27 2009
@@ -285,11 +285,11 @@
    >>> 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::
 


More information about the Python-checkins mailing list