Metaclass with name overloading.

Jacek Generowicz jacek.generowicz at cern.ch
Wed Sep 29 03:27:56 EDT 2004


imbosol at aerojockey.com (Carl Banks) writes:

>     def alltuple(name,bases,clsdict):
>         return tuple(clsdict.values())

>             __metaclass__ = alltuple

WBMSWA12FB !

It never occurred to me that a metaclass didn't have to be a _class_.



More information about the Python-list mailing list