summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-04-02 22:37:59 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-04-02 22:37:59 (GMT)
commit85737b875f55058985a794e89ab0698f27743b11 (patch)
tree7f0a2796695cfa397fa62f13ac65dbeff236421c /Doc
parent56145242930f98cbb1553888566d30a98158bfc8 (diff)
downloadcpython-85737b875f55058985a794e89ab0698f27743b11.zip
cpython-85737b875f55058985a794e89ab0698f27743b11.tar.gz
cpython-85737b875f55058985a794e89ab0698f27743b11.tar.bz2
Update docs for namedtuple's renaming change.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 50817b0..2e6a537 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -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
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.