[Python-checkins] r71076 - python/branches/py3k/Doc/library/collections.rst

raymond.hettinger python-checkins at python.org
Fri Apr 3 00:37:59 CEST 2009


Author: raymond.hettinger
Date: Fri Apr  3 00:37:59 2009
New Revision: 71076

Log:
Update docs for namedtuple's renaming change.

Modified:
   python/branches/py3k/Doc/library/collections.rst

Modified: python/branches/py3k/Doc/library/collections.rst
==============================================================================
--- python/branches/py3k/Doc/library/collections.rst	(original)
+++ python/branches/py3k/Doc/library/collections.rst	Fri Apr  3 00:37:59 2009
@@ -625,7 +625,7 @@
 
    If *rename* is true, invalid fieldnames are automatically replaced
    with positional names.  For example, ``['abc', 'def', 'ghi', 'abc']`` is
-   converted to ``['abc', '_2', 'ghi', '_4']``, eliminating the keyword
+   converted to ``['abc', '_1', 'ghi', '_3']``, eliminating the keyword
    ``def`` and the duplicate fieldname ``abc``.
 
    If *verbose* is true, the class definition is printed just before being built.


More information about the Python-checkins mailing list