Lines Matching refs:subclass
70 .. method:: register(subclass)
72 Register *subclass* as a "virtual subclass" of this ABC. For
86 Returns the registered subclass, to allow usage as a class decorator.
94 .. method:: __subclasshook__(subclass)
98 Check whether *subclass* is considered a subclass of this ABC. This means
101 subclass of the ABC. (This class method is called from the
105 it returns ``True``, the *subclass* is considered a subclass of this ABC.
106 If it returns ``False``, the *subclass* is not considered a subclass of
108 ``NotImplemented``, the subclass check is continued with the usual
154 Finally, the last line makes ``Foo`` a virtual subclass of ``MyIterable``,
248 A subclass of the built-in :func:`classmethod`, indicating an abstract
269 A subclass of the built-in :func:`staticmethod`, indicating an abstract
290 A subclass of the built-in :func:`property`, indicating an abstract
318 updated to create a concrete property in a subclass::