]> granicus.if.org Git - python/commitdiff
Clarify that named tuples do not have to subclass tuple.
authorRaymond Hettinger <python@rcn.com>
Wed, 4 Feb 2009 19:25:17 +0000 (19:25 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 4 Feb 2009 19:25:17 +0000 (19:25 +0000)
Doc/glossary.rst

index 0eb31117502a1af0dbeb2ac26b78bfb1292273df..808993e18e842baded256a9a8a346d2ab5c48d89 100644 (file)
@@ -396,7 +396,7 @@ Glossary
       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``).