[Python-checkins] r59968 - python/trunk/Doc/glossary.rst

raymond.hettinger python-checkins at python.org
Tue Jan 15 04:07:42 CET 2008


Author: raymond.hettinger
Date: Tue Jan 15 04:07:42 2008
New Revision: 59968
Modified:
 python/trunk/Doc/glossary.rst
Log:
Tighten the definition of a named tuple.
Modified: python/trunk/Doc/glossary.rst
==============================================================================
--- python/trunk/Doc/glossary.rst	(original)
+++ python/trunk/Doc/glossary.rst	Tue Jan 15 04:07:42 2008
@@ -340,7 +340,7 @@
 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``).


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /