Author lelit
Recipients docs@python, lelit
Date 2014-08-14.15:33:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408030431.26.0.145305463203.issue22196@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-08-14 15:33:51lelitsetrecipients: + lelit, docs@python
2014-08-14 15:33:51lelitsetmessageid: <1408030431.26.0.145305463203.issue22196@psf.upfronthosting.co.za>
2014-08-14 15:33:51lelitlinkissue22196 messages
2014-08-14 15:33:50lelitcreate