Another way to spell __metaclass__ ?
Thomas Heller
theller at python.net
Fri Dec 13 13:34:04 EST 2002
More information about the Python-list mailing list
Fri Dec 13 13:34:04 EST 2002
- Previous message (by thread): Another way to spell __metaclass__ ?
- Next message (by thread): Another way to spell __metaclass__ ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Mike Dean <klaatu at evertek.net> writes: > Martin v. Löwis <martin at v.loewis.de> wrote: > > [various ways of specifying metaclasses] > > > > There are certainly other ways to write this down; I don't know what the > > most intuitive and least hacky way is. > > How about something like this: > > class IUnknown is interface: > .... > > or: > > class(interface) IUnkwown: > yada yada yada 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]: ... Thomas
- Previous message (by thread): Another way to spell __metaclass__ ?
- Next message (by thread): Another way to spell __metaclass__ ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list