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, InterfaceClass):
>>>      obj.__class__.__name__

InterfaceClass
InterfaceClass
......
......
InterfaceClass
InterfaceClass

who can tell me why? How can I get the real name of the interface?
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to