]> granicus.if.org Git - python/commitdiff
Tighten the definition of a named tuple.
authorRaymond Hettinger <python@rcn.com>
Tue, 15 Jan 2008 03:07:42 +0000 (03:07 +0000)
committerRaymond Hettinger <python@rcn.com>
Tue, 15 Jan 2008 03:07:42 +0000 (03:07 +0000)
Doc/glossary.rst

index 2fa0ef789a28f1ae6e841430501e1bb231c34439..16215d21694d85fa4abd8257aeefd870c50f9edc 100644 (file)
@@ -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``).