PEP 354: Enumerations in Python

Paul Rubin http
Mon Feb 27 06:47:33 EST 2006


Felipe Almeida Lessa <felipe.lessa at gmail.com> writes:
> > If enums aren't supposed to work in that construction then the PEP
> > shouldn't specify that they work that way.
> 
> Sorry, but where do they say that? 

The PEP gives an example of iterating through the members of an enum.
I'm not sure if that's what you're asking, but if you meant something
else, it went past me.



More information about the Python-list mailing list