Clarify that named tuples do not have to subclass tuple.

This commit is contained in:
Raymond Hettinger 2009-02-04 19:25:17 +00:00
parent 939a3cc5a2
commit aff711d32a
1 changed files with 1 additions and 1 deletions

View 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``).