[Python-checkins] r69276 - python/trunk/Doc/glossary.rst
raymond.hettinger
python-checkins at python.org
Wed Feb 4 20:25:17 CET 2009
Author: raymond.hettinger
Date: Wed Feb 4 20:25:17 2009
New Revision: 69276
Log:
Clarify that named tuples do not have to subclass tuple.
Modified:
python/trunk/Doc/glossary.rst
Modified: python/trunk/Doc/glossary.rst
==============================================================================
--- python/trunk/Doc/glossary.rst (original)
+++ python/trunk/Doc/glossary.rst Wed Feb 4 20:25:17 2009
@@ -396,7 +396,7 @@
also :term:`immutable`.
named tuple
- Any tuple subclass whose indexable elements are also accessible using
+ Any tuple-like class whose indexable elements are also accessible using
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``).
More information about the Python-checkins
mailing list