[Python-checkins] r72705 - in python/branches/py3k: Doc/tutorial/introduction.rst

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


Author: georg.brandl
Date: Sun May 17 10:18:02 2009
New Revision: 72705

Log:
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.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Doc/tutorial/introduction.rst

Modified: python/branches/py3k/Doc/tutorial/introduction.rst
==============================================================================
--- python/branches/py3k/Doc/tutorial/introduction.rst	(original)
+++ python/branches/py3k/Doc/tutorial/introduction.rst	Sun May 17 10:18:02 2009
@@ -296,11 +296,11 @@
    >>> 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::
 


More information about the Python-checkins mailing list