Home | Trees | Indices | Help |
|
---|
|
object --+ | Element --+ | Attribute
Attribute descriptions
|
|||
|
|||
Inherited from Inherited from |
|
|||
__implemented__ = <implementedBy zope.interface.interface.Attr
|
|||
interface = None hash(x) |
|
|||
Inherited from |
|
Special descriptor for class __provides__ The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker. For example: >>> from zope.interface import Interface >>> class IFooFactory(Interface): ... pass >>> class IFoo(Interface): ... pass >>> class C(object): ... implements(IFoo) ... classProvides(IFooFactory) >>> [i.getName() for i in C.__provides__] ['IFooFactory']>>> [i.getName() for i in C().__provides__] ['IFoo']
|
|
__implemented__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun May 8 13:35:05 2011 | http://epydoc.sourceforge.net |