π FileMgr
π
/
lib64
/
python3.9
/
__pycache__
βοΈ /
β¬ Kembali
a οΏ½i8 οΏ½ @ sοΏ½ d Z ddοΏ½ ZG ddοΏ½ deοΏ½ZG ddοΏ½ deοΏ½ZG ddοΏ½ deοΏ½Zz,d d lm Z m Z mZmZm Z mZmZmZ W n( eyοΏ½ d dlmZm Z de_Y n0 G d dοΏ½ deοΏ½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 οΏ½/usr/lib64/python3.9/abc.pyοΏ½abstractmethod s r c s$ 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 s d|_ tοΏ½ οΏ½|οΏ½ d S οΏ½NTοΏ½r οΏ½superοΏ½__init__οΏ½οΏ½selfοΏ½callableοΏ½οΏ½ __class__r r r + s zabstractclassmethod.__init__οΏ½οΏ½__name__οΏ½ __module__οΏ½__qualname__οΏ½__doc__r r οΏ½ __classcell__r r r r r s r c s$ e Zd ZdZdZοΏ½ fddοΏ½ZοΏ½ ZS )οΏ½abstractstaticmethoda A decorator indicating abstract staticmethods. Deprecated, use 'staticmethod' with 'abstractmethod' instead: class C(ABC): @staticmethod @abstractmethod def my_abstract_staticmethod(...): ... Tc s d|_ tοΏ½ οΏ½|οΏ½ d S r r r r r r r ? s zabstractstaticmethod.__init__r r r r r r 0 s r c @ s 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! aοΏ½ 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()). c s&