Python's sad, unimaginative Enum
Fábio Santos
fabiosantosart at gmail.com
Tue May 14 05:33:05 EDT 2013
On 13 May 2013 12:05, "Jean-Michel Pichavant" <jeanmichel at sequans.com>
wrote:
>
> class Enum:
> class __metaclass__(type):
That's some cool metaclass fu! I didn't know that to be possible
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130514/7f31af52/attachment.html>
More information about the Python-list
mailing list