Re: [Zope3-Users] Why all of the names of the interfaces in the zope3 are the same 'InterfaceClass'?

2007-12-12 Thread Marius Gedminas
On Wed, Dec 12, 2007 at 02:06:08PM +0800, 曹星明 wrote: I'm a newbie to the zope 3. Today I was at a loss because I found all of the names of the interfaces are the same 'InterfaceClass'. from zope.interface.interface import InterfaceClass from zope.component import interfaces for x in

[Zope3-Users] Why all of the names of the interfaces in the zope3 are the same 'InterfaceClass'?

2007-12-11 Thread 曹星明
I'm a newbie to the zope 3. Today I was at a loss because I found all of the names of the interfaces are the same 'InterfaceClass'. from zope.interface.interface import InterfaceClass from zope.component import interfaces for x in dir(interfaces): obj = getattr(m,x) if isinstance(obj,