[Python-Dev] PEP 435 (Enums) is Accepted
Ethan Furman
ethan at stoneleaf.us
Fri May 10 08:56:00 CEST 2013
On 05/09/2013 11:46 PM, Nick Coghlan wrote:
>
> As an added bonus, people trying to understand the details of
> metaclasses will now have a non-trivial standard library example to
> investigate
Hmmm... __prepare__ really isn't doing very much at the moment... I could have it do more... maybe create some kind of
little helper class, name it the same as the class being created, and stuff it in the class dict... ;)
--
~Ethan~
More information about the Python-Dev
mailing list