Re: Metaclass with name overloading.
imbosol@aerojoc key.com (Carl Banks) writes:
[color=blue]
> def alltuple(name,b ases,clsdict):
> return tuple(clsdict.v alues())[/color]
[color=blue]
> __metaclass__ = alltuple[/color]
WBMSWA12FB !
It never occurred to me that a metaclass didn't have to be a _class_.
imbosol@aerojoc key.com (Carl Banks) writes:
[color=blue]
> def alltuple(name,b ases,clsdict):
> return tuple(clsdict.v alues())[/color]
[color=blue]
> __metaclass__ = alltuple[/color]
WBMSWA12FB !
It never occurred to me that a metaclass didn't have to be a _class_.
Comment