Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45293

Re: Python's sad, unimaginative Enum

References <kmqbgk$dec$1@ger.gmane.org> <870762861.12001592.1368442836310.JavaMail.root@sequans.com>
Date 2013-05-14 10:33 +0100
Subject Re: Python's sad, unimaginative Enum
From Fábio Santos <fabiosantosart@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1667.1368523987.3114.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 13 May 2013 12:05, "Jean-Michel Pichavant" <jeanmichel@sequans.com>
wrote:
>
> class Enum:
>   class __metaclass__(type):

That's some cool metaclass fu! I didn't know that to be possible

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python's sad, unimaginative Enum Fábio Santos <fabiosantosart@gmail.com> - 2013-05-14 10:33 +0100

csiph-web