diff options
author | Raymond Hettinger <python@rcn.com> | 2008-01-15 03:07:42 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-01-15 03:07:42 (GMT) |
commit | d4c2e8659c2ef5ae0ac9304fcf38d3008b249920 (patch) | |
tree | 278b0df85ec382943751d95dbda70126863c42c7 /Doc/glossary.rst | |
parent | c216df9288d03d43462c87dd9ee2ae3c340376a5 (diff) | |
download | cpython-d4c2e8659c2ef5ae0ac9304fcf38d3008b249920.zip cpython-d4c2e8659c2ef5ae0ac9304fcf38d3008b249920.tar.gz cpython-d4c2e8659c2ef5ae0ac9304fcf38d3008b249920.tar.bz2 |
Tighten the definition of a named tuple.
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r-- | Doc/glossary.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst index 2fa0ef7..16215d2 100644 --- a/Doc/glossary.rst +++ b/Doc/glossary.rst @@ -340,7 +340,7 @@ Glossary also :term:`immutable`. named tuple - Any tuple-like class whose indexable fields are also accessible with + Any tuple subclass whose indexable fields are also accessible with named attributes (for example, :func:`time.localtime` returns a tuple-like object where the *year* is accessible either with an index such as ``t[0]`` or with a named attribute like ``t.tm_year``). |