Trees | Indices | Help |
|
---|
|
Specify a list of attributes that are 'important'. These will be used for all comparison operations.
Instance Methods | |||
|
|||
|
|||
|
|||
|
Class Variables | |
compare_attrs =
|
|
__implemented__ = <implementedBy buildbot.util.ComparableMixin>
|
Method Details |
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'] |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Mar 25 19:40:36 2012 | http://epydoc.sourceforge.net |