Your IP : 3.135.220.255


Current Path : /opt/alt/python313/lib64/python3.13/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib64/python3.13/__pycache__/_py_abc.cpython-313.opt-1.pyc

�

1}g-��,�SSKJr Sr"SS\5rg)�)�WeakSetc�"�[R$)z�Returns the current ABC cache token.

The token is an opaque object (supporting equality testing) identifying the
current version of the ABC cache for virtual subclasses. The token changes
with every call to ``register()`` on any ABC.
)�ABCMeta�_abc_invalidation_counter���./opt/alt/python313/lib64/python3.13/_py_abc.py�get_cache_tokenr
s���,�,�,rc�X^�\rSrSrSrSrU4SjrSrSSjrSr	Sr
S	rS
rSr
U=r$)
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()).
rc	�>�[T	U]"XX#40UD6nUR5VVs1sHup[USS5(dMUiM nnnUHPn[US[	55H4n[XQS5n[USS5(dM#URU5 M6 MR [
U5Ul[5Ul	[5Ul
[5Ul[RUlU$s snnf)N�__isabstractmethod__F�__abstractmethods__)�super�__new__�items�getattr�set�add�	frozensetrr�
_abc_registry�
_abc_cache�_abc_negative_cacherr�_abc_negative_cache_version)
�mcls�name�bases�	namespace�kwargs�cls�value�	abstracts�base�	__class__s
         �r	r�ABCMeta.__new__#s�����g�o�d�%�E�f�E��)2���(9�G�(9�����'=�u�E��(9�	�G��D���&;�S�U�C����4�0���5�"8�%�@�@��M�M�$�'�D��
#,�I�"6���#�I��� ����")�)���*1�*K�*K��'��
��Gs�C6�C6c��[U[5(d[S5e[X5(aU$[X5(a[	S5eUR
R
U5 [=RS-
slU$)zcRegister a virtual subclass of an ABC.

Returns the subclass, to allow usage as a class decorator.
zCan only register classesz'Refusing to create an inheritance cycle�)	�
isinstance�type�	TypeError�
issubclass�RuntimeErrorrrrr)r �subclasss  r	�register�ABCMeta.register6sp��
�(�D�)�)��7�8�8��h�$�$��O��c�$�$��H�I�I������h�'��)�)�Q�.�)��rc�B�[SURSUR3US9 [S[53US9 URHVnURS5(dM[
X5n[U[5(a[U5n[USU<3US9 MX g)z'Debug helper to print the ABC registry.zClass: �.)�filezInv. counter: �_abc_z: N)
�print�
__module__�__qualname__r
�__dict__�
startswithrr(rr)r r2rr!s    r	�_dump_registry�ABCMeta._dump_registryHs���
�����'�q��)9�)9�(:�;�$�G�
���0�1�2��>��L�L�D����w�'�'���*���e�W�-�-���J�E����b��	�*��6�!rc�8�URR5 g)z.Clear the registry (for debugging or testing).N)r�clear�r s r	�_abc_registry_clear�ABCMeta._abc_registry_clearSs�������!rc�l�URR5 URR5 g)z,Clear the caches (for debugging or testing).N)rr<rr=s r	�_abc_caches_clear�ABCMeta._abc_caches_clearWs$�����������%�%�'rc�^�URnUTR;ag[U5nX2La@TR[R
:XaUTR;agTRU5$[U4SjX#455$)z'Override for isinstance(instance, cls).TFc3�F># �UHnTRU5v� M g7f�N)�__subclasscheck__)�.0�cr s  �r	�	<genexpr>�,ABCMeta.__instancecheck__.<locals>.<genexpr>js!����I�5H��3�(�(��+�+�5H�s�!)	r$rr)rrrrrF�any)r �instancer-�subtypes`   r	�__instancecheck__�ABCMeta.__instancecheck__\s{����%�%���s�~�~�%���x�.�����/�/��1�1�2��C�3�3�3���(�(��2�2��I�h�5H�I�I�Irc�X�[U[5(d[S5eXR;agUR[
R:a%[5Ul[
RUlOXR;agURU5nU[LaAU(aURRU5 U$URRU5 U$U[USS5;aURRU5 gURH0n[X5(dMURRU5  g UR5H0n[X5(dMURRU5  g URRU5 g)z'Override for issubclass(subclass, cls).z"issubclass() arg 1 must be a classTF�__mro__r)r(r)r*rrrrrr�__subclasshook__�NotImplementedrrrr+�__subclasses__)r r-�ok�rcls�sclss     r	rF�ABCMeta.__subclasscheck__lsV���(�D�)�)��@�A�A��~�~�%���*�*�W�-N�-N�N�&-�i�C�#�.5�.O�.O�C�+�
�0�0�
0��
�
!�
!�(�
+��
�^�#�����"�"�8�,��I��'�'�+�+�H�5��I��'�(�I�r�2�2��N�N���x�(���%�%�D��(�)�)����"�"�8�,��&�
�&�&�(�D��(�)�)����"�"�8�,��)�
	���#�#�H�-�rrrE)�__name__r5r6�__firstlineno__�__doc__rrr.r9r>rArNrF�__static_attributes__�
__classcell__)r$s@r	rrs9����$!"���&�$	7�"�(�
J� '�'rrN)�_weakrefsetrr
r)rrrr	�<module>r_s���-�E�d�Er

?>