Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
_compat.cpython-313.pyc31 linesDownload Raw Back to __pycache__
1�

2��j
��|�SSKrSSKrSSKrSSKrSSKJrJr SSKJr \R"5S:Hr3\RSSS:�r\RSSS:�r
\RSSS:�r\RSSS	:�r\RSSS4:�r\(aSSKrSrOSr"S
S5r\R("5rSrg)�N)�Mapping�Sequence)�
_GenericAlias�PyPy�)��5)r�)r�)r�
)r�c�\�[R"U[RRS9$)N)�format)�
annotationlib�get_annotations�Format�6FORWARDREF��clss �RD:\code\apps\devtools\python\user_packages\Python313\site-packages\attr/_compat.py�_get_annotationsrs&���,�,��
�,�,�7�7�7�	8�c�:�URRS05$)z9Get annotations for *cls*.10�__annotations__)�__dict__�getrs rrr!s���|�|��� 1�2�6�6rc�0�\rSrSrSrS/rSrSrSrSr	g)	�_AnnotationExtractor�(zR11Extract type annotations from a callable, returning None whenever there12is none.13�sigc�v�[R"U5Ulg![[4a14 SUlgf=f)N)�inspect�	signaturer �15ValueError�	TypeError)�self�callables  r�__init__�_AnnotationExtractor.__init__0s4��	��(�(��2�D�H���I�&�	��D�H�	�s��8�8c��UR(dg[URRR55nU(a9USR[16RRLaUSR$g)zE17Return the type annotation of the first argument if it's not empty.18Nr)r �list�19parameters�values�20annotationr"�	Parameter�empty)r&�paramss  r�get_first_param_type�)_AnnotationExtractor.get_first_param_type6s^���x�x���d�h�h�)�)�0�0�2�3���f�Q�i�*�*�'�2C�2C�2I�2I�I��!�9�'�'�'�rc��UR(aGURR[RRLaURR$g)z+21Return the return type if it's not empty.22N)r �return_annotationr"�	Signaturer0)r&s r�get_return_type�$_AnnotationExtractor.get_return_typeCs<��23
�H�H����*�*�'�2C�2C�2I�2I�I��8�8�-�-�-�r)r N)24�__name__�25__module__�__qualname__�__firstlineno__�__doc__�	__slots__r(r2r7�__static_attributes__�rrrr(s���26��I���27rrc�B�UR[LaUR$g)zDIf this is a generic class (A[str]), return the generic base for it.N)�	__class__r�28__origin__)�cls r�get_generic_baserE_s��	�|�|�}�$��}�}��r)r"�platform�sys�	threading�collections.abcrr�typingr�python_implementation�PYPY�version_info�PY_3_10_PLUS�PY_3_11_PLUS�PY_3_12_PLUS�PY_3_13_PLUS�PY_3_14_PLUSrrr�local�repr_contextrEr@rr�<module>rUs�����29��-� ��%�%�'�6�1�������#�w�.�������#�w�.�������#�w�.�������#�w�.�������#�w�.����3031�7�%�%�h��� ��r
codekingpro/portable-devtools · Team Ai