[Zope3-dev] Re: getting informations about interface

Philipp von Weitershausen philipp at weitershausen.de
Thu Aug 14 12:49:27 EDT 2003


Marcus J. Ertl wrote:
> How may I get a list of attributes, their types and defaults, if I have
> a given interface name? 

your_interface.names()

See IInterface in Zope/src/zope/interface/interfaces.py. We have 
interfaces for nearly everything, even for interfaces *g*

Philipp





More information about the Zope3-dev mailing list