[docs] [issue22196] namedtuple documentation could/should mention the new Enum type

Lele Gaifax 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
components: Documentation
messages: 225303
nosy: docs at python, lelit
priority: normal
severity: normal
status: open
title: namedtuple documentation could/should mention the new Enum type

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22196>
_______________________________________


More information about the docs mailing list