[Python-ideas] str-type enumerations

Ethan Furman ethan at stoneleaf.us
Tue Apr 2 21:25:17 CEST 2013


I'm not trying to beat this dead horse (really!) but back when the enumeration discussions were going fast and furious 
one of the things asked for was enumerations of type str, to which others replied that strings named themselves.

Well, I now have a good case where I don't want to use the string that names itself: 'Mn$(1,6)'  I would match rather 
write item_code!  :)

--
~Ethan~



More information about the Python-ideas mailing list