HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/self/root/usr/lib/python3/dist-packages/attr/__pycache__/
Upload File :
Current File : //proc/self/root/usr/lib/python3/dist-packages/attr/__pycache__/_compat.cpython-311.pyc
�

�c;���ddlZddlZddlZddlZddlZddlZddlmZmZej	��dkZ
ejdd�dkZejdd�dkZ
d�ZGd�d	��Zd
�Ze��Zej��ZdS)�N)�Mapping�Sequence�PyPy�)��
)r�c�>�tjdtd���dS)Nz�Running interpreter doesn't sufficiently support code object introspection.  Some features like bare super() or accessing __class__ will not work with slotted classes.r)�
stacklevel)�warnings�warn�RuntimeWarning)�args�kws  �./usr/lib/python3/dist-packages/attr/_compat.py�	just_warnrs2���M�	8�	��������c�*�eZdZdZdgZd�Zd�Zd�ZdS)�_AnnotationExtractorz^
    Extract type annotations from a callable, returning None whenever there
    is none.
    �sigc�x�	tj|��|_dS#ttf$rd|_YdSwxYw�N)�inspect�	signaturer�
ValueError�	TypeError)�self�callables  r�__init__z_AnnotationExtractor.__init__%sJ��	��(��2�2�D�H�H�H���I�&�	�	�	��D�H�H�H�H�	���s��9�9c���|jsdSt|jj�����}|r+|djt
jjur
|djSdS)zU
        Return the type annotation of the first argument if it's not empty.
        Nr)r�list�
parameters�values�
annotationr�	Parameter�empty)r�paramss  r�get_first_param_typez)_AnnotationExtractor.get_first_param_type+sb���x�	��4��d�h�)�0�0�2�2�3�3���	(�f�Q�i�*�'�2C�2I�I�I��!�9�'�'��trc�f�|jr)|jjtjjur|jjSdS)z;
        Return the return type if it's not empty.
        N)r�return_annotationr�	Signaturer&)rs r�get_return_typez$_AnnotationExtractor.get_return_type8s4��

�H�	.���*�'�2C�2I�I�I��8�-�-��trN)�__name__�
__module__�__qualname__�__doc__�	__slots__rr(r,�rrrrsT��������
��I�������
�
�
�
�
rrc�d��trd�}|Sd�}	|j}|jdks|jdkrt�t
jdkrd�}n�|jg}|�|j	��|�
|j|j|j
|j|j|j|j|j|j|j|j|j|jg
��t-j|���fd�}d�}|��jd	}||d
��|jd
krt�	|S#t4$r
t6cYSwxYw)z|Return a function of two arguments (cell, value) which sets
    the value stored in the closure cell `cell` to `value`.
    c�2�|�|f��dSr)�__setstate__��cell�values  r�set_closure_cellz/make_set_closure_cell.<locals>.set_closure_cellMs�����u�h�'�'�'�'�'rc���|�dSrr2)r8�force_x_to_be_a_cell�xs  @r�set_first_cellvar_toz3make_set_closure_cell.<locals>.set_first_cellvar_toUs
������r�r<r2)r�c��||_dSr)�
cell_contentsr6s  rr9z/make_set_closure_cell.<locals>.set_closure_celljs��%*��"�"�"rc�P��tj�idd|f��}||��dS)N�setterr2)�types�FunctionType)r7r8rC�set_first_freevar_codes   �rr9z/make_set_closure_cell.<locals>.set_closure_cell�s7����+�*�B��"�t�g������u�
�
�
�
�
rc���d��fd�}|S)Nc����Srr2r>s�r�funcz@make_set_closure_cell.<locals>.make_func_with_cell.<locals>.func�s����rr2)rIr<s @r�make_func_with_cellz2make_set_closure_cell.<locals>.make_func_with_cell�s(����A�
�
�
�
�
��Krr�d)�PYPY�__code__�co_cellvars�co_freevars�AssertionError�sys�version_info�co_argcount�append�co_kwonlyargcount�extend�
co_nlocals�co_stacksize�co_flags�co_code�	co_consts�co_names�co_varnames�co_filename�co_name�co_firstlineno�	co_lnotabrD�CodeType�__closure__rA�	Exceptionr)r9r=�corrJr7rFs      @r�make_set_closure_cellrfEs����� �	(�	(�	(� ��
���@ �"�
*��
�>�V�#�#�r�~��';�';� � ���v�%�%�
+�
+�
+�
+��N�#�D��K�K��,�-�-�-��K�K��M��O��K��J��L��K��N��N��J��%��L��N��N��
�
�
�$&+�^�T�%:�"�
�
�
�
�
�	�	�	�#�"�$�$�0��3�����s�#�#�#����$�$� � �%� ��������������s�DD�D/�.D/)r�platformrQ�	threadingrDr�collections.abcrr�python_implementationrLrR�PY310�PY_3_12_PLUSrrrfr9�local�repr_contextr2rr�<module>ros����������
�
�
�
�������������-�-�-�-�-�-�-�-�&�x�%�'�'�6�1�����!����'�������#�w�.�����%�%�%�%�%�%�%�%�PZ �Z �Z �z)�(�*�*���y�� � ���r