diff options
author | Raymond Hettinger <python@rcn.com> | 2009-04-02 22:34:17 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2009-04-02 22:34:17 +0000 |
commit | 6df48a3354d5861be879b8ffed9c1eda5a0fc2c5 (patch) | |
tree | 1be181a41a3216b17a45def85647840c3620ef69 | |
parent | 756ab67a9867cd158aa63d9ac5ce99809e0a2175 (diff) | |
download | cpython-git-6df48a3354d5861be879b8ffed9c1eda5a0fc2c5.tar.gz |
Update docs for namedtuple's renaming change.
-rw-r--r-- | Doc/library/collections.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index c396f176c8..ec0ae4b42f 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -649,7 +649,7 @@ they add the ability to access fields by name instead of position index. 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. |