Message225303
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. |
|
Date |
User |
Action |
Args |
2014-08-14 15:33:51 | lelit | set | recipients:
+ lelit, docs@python |
2014-08-14 15:33:51 | lelit | set | messageid: <1408030431.26.0.145305463203.issue22196@psf.upfronthosting.co.za> |
2014-08-14 15:33:51 | lelit | link | issue22196 messages |
2014-08-14 15:33:50 | lelit | create | |
|