summaryrefslogtreecommitdiffstats
path: root/Doc/glossary.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-11 09:55:53 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-11 09:55:53 (GMT)
commite3c3db59b522d18ed60b1e7b0be7d8e9eeec41a7 (patch)
treecd848e76f0b7bb28db9263c5fdd9340e61046a5e /Doc/glossary.rst
parent2f32c39227e70215c9d9e8e4e50cb1227fc083d1 (diff)
downloadcpython-e3c3db59b522d18ed60b1e7b0be7d8e9eeec41a7.zip
cpython-e3c3db59b522d18ed60b1e7b0be7d8e9eeec41a7.tar.gz
cpython-e3c3db59b522d18ed60b1e7b0be7d8e9eeec41a7.tar.bz2
Documentation for r5990[3567].
Diffstat (limited to 'Doc/glossary.rst')
-rw-r--r--Doc/glossary.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/glossary.rst b/Doc/glossary.rst
index fb5c018..307bad3 100644
--- a/Doc/glossary.rst
+++ b/Doc/glossary.rst
@@ -338,6 +338,13 @@ Glossary
mutable
Mutable objects can change their value but keep their :func:`id`. See
also :term:`immutable`.
+
+ named tuple
+ A tuple subclass whose elements also are accessible as attributes via
+ fixed names (the class name and field names are indicated in the
+ individual documentation of a named tuple type, like ``TestResults(failed,
+ attempted)``). Named tuple classes are created by
+ :func:`collections.namedtuple`.
namespace
The place where a variable is stored. Namespaces are implemented as