Commit 85737b87 authored by Raymond Hettinger's avatar Raymond Hettinger

Update docs for namedtuple's renaming change.

parent 56145242
...@@ -625,7 +625,7 @@ they add the ability to access fields by name instead of position index. ...@@ -625,7 +625,7 @@ they add the ability to access fields by name instead of position index.
If *rename* is true, invalid fieldnames are automatically replaced If *rename* is true, invalid fieldnames are automatically replaced
with positional names. For example, ``['abc', 'def', 'ghi', 'abc']`` is 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``. ``def`` and the duplicate fieldname ``abc``.
If *verbose* is true, the class definition is printed just before being built. If *verbose* is true, the class definition is printed just before being built.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment