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
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,