o 0¦iz ã @ sÀ d Z dd„ ZG dd„ deƒZG dd„ deƒZG dd„ deƒZzd d lm Z m Z mZmZm Z mZmZmZ W n eyH d dlmZm Z de_Y n w G d d„ deƒZdd„ ZG dd„ ded�ZdS )z3Abstract Base Classes (ABCs) according to PEP 3119.c C s d| _ | S )a< A decorator indicating abstract methods. Requires that the metaclass is ABCMeta or derived from it. A class that has a metaclass derived from ABCMeta cannot be instantiated unless all of its abstract methods are overridden. The abstract methods can be called using any of the normal 'super' call mechanisms. abstractmethod() may be used to declare abstract methods for properties and descriptors. Usage: class C(metaclass=ABCMeta): @abstractmethod def my_abstract_method(self, ...): ... T)Ú__isabstractmethod__)Úfuncobj© r ú*/opt/alt/python310/lib64/python3.10/abc.pyÚabstractmethod s r c ó$ e Zd ZdZdZ‡ fdd„Z‡ ZS )Úabstractclassmethoda A decorator indicating abstract classmethods. Deprecated, use 'classmethod' with 'abstractmethod' instead: class C(ABC): @classmethod @abstractmethod def my_abstract_classmethod(cls, ...): ... Tc ó d|_ tƒ |¡ d S ©NT©r ÚsuperÚ__init__©ÚselfÚcallable©Ú __class__r r r + ó zabstractclassmethod.__init__©Ú__name__Ú __module__Ú__qualname__Ú__doc__r r Ú __classcell__r r r r r ó r c r )Úabstractstaticmethoda A decorator indicating abstract staticmethods. Deprecated, use 'staticmethod' with 'abstractmethod' instead: class C(ABC): @staticmethod @abstractmethod def my_abstract_staticmethod(...): ... Tc r r r r r r r r ? r zabstractstaticmethod.__init__r r r r r r 0 r r c @ ó e Zd ZdZdZdS )ÚabstractpropertyzùA decorator indicating abstract properties. Deprecated, use 'property' with 'abstractmethod' instead: class C(ABC): @property @abstractmethod def my_abstract_property(self): ... TN)r r r r r r r r r r D s r é )Úget_cache_tokenÚ _abc_initÚ _abc_registerÚ_abc_instancecheckÚ_abc_subclasscheckÚ _get_dumpÚ_reset_registryÚ _reset_caches)ÚABCMetar Úabcc sR e Zd ZdZ‡ fdd„Zdd„ Zdd„ Zdd „ Zddd„Zd d„ Z dd„ Z ‡ ZS )r&