[Python-Dev] Enumeration item arguments?

Ethan Furman ethan at stoneleaf.us
Tue Apr 30 00:40:46 CEST 2013


On 04/29/2013 03:25 PM, Eli Bendersky wrote:
>
> Besides, did we not agree that the only acceptable *members* for enums are going to be descriptors? In the above, mass &
> radius are not descriptors.

Actually, it's the other way -- descriptors are excluded from being enum items, along  with dunders.

--
~Ethan~


More information about the Python-Dev mailing list