Karmen Dykstra added the comment:
Updated documentation with Enum example.
--
keywords: +patch
nosy: +ezio.melotti, kdykstra
Added file: http://bugs.python.org/file37051/mywork.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 2e3521e79d93 by Ezio Melotti in branch 'default':
#22196: link to Enum in the nametuple documentation. Patch by Karmen Dykstra.
https://hg.python.org/cpython/rev/2e3521e79d93
--
nosy: +python-dev
___
Roundup Robot added the comment:
New changeset 701529f8ca93 by Ezio Melotti in branch '3.4':
#22196: link to Enum in the nametuple documentation. Patch by Karmen Dykstra.
https://hg.python.org/cpython/rev/701529f8ca93
--
___
Python tracker
Ezio Melotti added the comment:
Fixed, thanks for the patch!
--
assignee: rhettinger - ezio.melotti
resolution: - fixed
stage: - resolved
status: open - closed
type: - enhancement
versions: +Python 3.4, Python 3.5
___
Python tracker
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: docs@python - rhettinger
nosy: +rhettinger
priority: normal - low
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22196
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