Proper class initialization

Christoph Zwerschke cito at online.de
Wed Mar 1 17:28:24 EST 2006


Jack Diederich wrote:
> ...   __metaclass__ = MyMeta

Thanks. I was not aware of the __metaclass__ attribute. Still a bit 
complicated and as you said, difficult to read, as the other workarounds 
already proposed. Anyway, this is probably not needed so often.

-- Christoph



More information about the Python-list mailing list