Skip to content

Commit 673e8b6

Browse files
author
raymond.hettinger
committed
Clarify that named tuples do not have to subclass tuple.
git-svn-id: http://svn.python.org/projects/python/trunk@69276 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 44c81dd commit 673e8b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/glossary.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ Glossary
396396
also :term:`immutable`.
397397

398398
named tuple
399-
Any tuple subclass whose indexable elements are also accessible using
399+
Any tuple-like class whose indexable elements are also accessible using
400400
named attributes (for example, :func:`time.localtime` returns a
401401
tuple-like object where the *year* is accessible either with an
402402
index such as ``t[0]`` or with a named attribute like ``t.tm_year``).

0 commit comments

Comments
 (0)