Another way to spell __metaclass__ ?
Mike Dean
klaatu at evertek.net
Fri Dec 13 15:01:48 EST 2002
On 13 Dec 2002 19:34:04 +0100 Thomas Heller <theller at python.net> wrote:
> Didn't Michael Hudson some time ago have a patch which allowed
> to write something like this?
> class IUnknown(bases) [interface]:
> ...
> or
> def IUnknown() [a, b, c]:
> ...
I think I remember seeing something like that a long time ago (well,
long time relative to my Python activity). Was it for metaclasses, or
was it for some kind of interface mechanism?
-Mike
More information about the Python-list
mailing list