Message133205
This doesn't work as you show. What you probably meant was something like this:
class InterfaceBase(type):
...
Interface = InterfaceBase('Interface', (), {})
class IFoo(Interface):
...
which you can just as well do by using normal metaclass syntax. |
|
Date |
User |
Action |
Args |
2011-04-07 09:50:47 | georg.brandl | set | recipients:
+ georg.brandl, docs@python, carsten.klein |
2011-04-07 09:50:47 | georg.brandl | set | messageid: <1302169847.86.0.805690528451.issue11789@psf.upfronthosting.co.za> |
2011-04-07 09:50:47 | georg.brandl | link | issue11789 messages |
2011-04-07 09:50:47 | georg.brandl | create | |
|