Home | Trees | Indices | Help |
|
---|
|
object --+ | type --+ | ABCMeta
Metaclass for defining Abstract Base Classes (ABCs).
Use this metaclass to create an ABC. An ABC can be subclassed directly, and then acts as a mix-in class. You can also register unrelated concrete classes (even built-in classes) and unrelated ABCs as 'virtual subclasses' -- these and their descendants will be considered subclasses of the registering ABC by the built-in issubclass() function, but the registering ABC won't show up in their MRO (Method Resolution Order) nor will method implementations defined by the registering ABC be callable (not even via super()).
|
|||
bool |
|
||
|
|||
|
|||
bool |
|
||
|
|||
|
|||
Inherited from Inherited from |
|
|||
a new object with type S, a subtype of T |
|
|
|||
__implemented__ = <implementedBy abc.ABCMeta>
|
|||
_abc_invalidation_counter = 101
|
|
|||
Inherited from Inherited from |
|
Override for isinstance(instance, cls).
|
|
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. |
Override for issubclass(subclass, cls).
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jan 28 06:13:31 2022 | http://epydoc.sourceforge.net |