[docs] [issue22196] namedtuple documentation could/should mention the new Enum type
report at bugs.python.org
Thu Aug 14 17:33:51 CEST 2014
New submission from Lele Gaifax:
The documentation of namedtuple, near the end, talks about implementing enumerated constants and says “Enumerated constants can be implemented with named tuples, but it is simpler and more efficient to use a simple class declaration“.
Maybe it should mention the recently added Enum type instead/too.
assignee: docs at python
nosy: docs at python, lelit
title: namedtuple documentation could/should mention the new Enum type
Python tracker <report at bugs.python.org>
More information about the docs