Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.144.162.107
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : abc.cpython-38.pyc
U

�b��@s�dZdd�ZGdd�de�ZGdd�de�ZGdd�de�Zz,d	d
lm	Z	m
Z
mZmZm
Z
mZmZmZWn*ek
r�d	dlmZm	Z	de_YnXGd
d�de�ZGdd�ded�ZdS)z3Abstract Base Classes (ABCs) according to PEP 3119.cCs
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__)Zfuncobj�r�*/usr/local/python-3.8/lib/python3.8/abc.py�abstractmethodsrcs$eZdZdZdZ�fdd�Z�ZS)�abstractclassmethodztA decorator indicating abstract classmethods.

    Deprecated, use 'classmethod' with 'abstractmethod' instead.
    Tcsd|_t��|�dS�NT�r�super�__init__��self�callable��	__class__rrr	$szabstractclassmethod.__init__��__name__�
__module__�__qualname__�__doc__rr	�
__classcell__rrr
rrsrcs$eZdZdZdZ�fdd�Z�ZS)�abstractstaticmethodzvA decorator indicating abstract staticmethods.

    Deprecated, use 'staticmethod' with 'abstractmethod' instead.
    Tcsd|_t��|�dSrrr
r
rrr	1szabstractstaticmethod.__init__rrrr
rr)src@seZdZdZdZdS)�abstractpropertyzoA decorator indicating abstract properties.

    Deprecated, use 'property' with 'abstractmethod' instead.
    TN)rrrrrrrrrr6sr�)�get_cache_token�	_abc_init�
_abc_register�_abc_instancecheck�_abc_subclasscheck�	_get_dump�_reset_registry�
_reset_caches)�ABCMetar�abccsReZdZdZ�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()).
        cs"t�j||||f|�}t|�|S)N)r�__new__r)Zmcls�nameZbasesZ	namespace�kwargs�clsr
rrr"TszABCMeta.__new__cCs
t||�S)z{Register a virtual subclass of an ABC.

            Returns the subclass, to allow usage as a class decorator.
            )r�r%Zsubclassrrr�registerYszABCMeta.registercCs
t||�S)z'Override for isinstance(instance, cls).)r)r%Zinstancerrr�__instancecheck__`szABCMeta.__instancecheck__cCs
t||�S)z'Override for issubclass(subclass, cls).)rr&rrr�__subclasscheck__dszABCMeta.__subclasscheck__NcCs�td|j�d|j��|d�tdt���|d�t|�\}}}}td|��|d�td|��|d�td|��|d�td|��|d�d	S)
z'Debug helper to print the ABC registry.zClass: �.)�filezInv. counter: z_abc_registry: z_abc_cache: z_abc_negative_cache: z_abc_negative_cache_version: N)�printrrrr)r%r+Z
_abc_registryZ
_abc_cacheZ_abc_negative_cacheZ_abc_negative_cache_versionrrr�_dump_registryhs�
�zABCMeta._dump_registrycCst|�dS)z.Clear the registry (for debugging or testing).N)r�r%rrr�_abc_registry_cleartszABCMeta._abc_registry_clearcCst|�dS)z,Clear the caches (for debugging or testing).N)rr.rrr�_abc_caches_clearxszABCMeta._abc_caches_clear)N)rrrrr"r'r(r)r-r/r0rrrr
rr Gs
r c@seZdZdZdZdS)�ABCzVHelper class that provides a standard way to create an ABC using
    inheritance.
    rN)rrrr�	__slots__rrrrr1}sr1)�	metaclassN)rr�classmethodr�staticmethodr�propertyrZ_abcrrrrrrrr�ImportErrorZ_py_abcr r�typer1rrrr�<module>s

	,6
© 2025 GrazzMean