Declarative


Attributes

a __unpackargs__

()

a singleton

<bound class method Declarative.singleton>

a __mutableattributes__

()

a __restrict_attributes__

None

a declarative_count

0

Methods

f __subclasshook__(...) ...

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

f __format__(...) ...

default object formatter

f __sizeof__(...) ...

__sizeof__() -> int size of object in memory, in bytes

f __classinit__(cls, new_attrs) ...

f __instanceinit__(self, new_attrs) ...

f __init__(self, *args, **kw) ...

f __call__(self, *args, **kw) ...

See the source for more information.