AlkantarClanX12

Your IP : 3.139.235.177


Current Path : /opt/alt/python311/lib64/python3.11/importlib/resources/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/importlib/resources/__pycache__/abc.cpython-311.opt-2.pyc

�

c��f����ddlZddlZddlZddlmZmZmZmZmZm	Z	m
Z
ddlmZmZddlm
Z
e
eejefZgd�ZGd�dej���ZeGd	�d
e����ZGd�de��ZdS)
�N)�Any�BinaryIO�Iterable�Iterator�NoReturn�Text�Optional)�runtime_checkable�Protocol)�Union)�ResourceReader�Traversable�TraversableResourcesc��eZdZ	ejdedefd���Zejdedefd���Zejdede	fd���Z
ejdeefd���Z
dS)	r
�resource�returnc��	t��N��FileNotFoundError��selfrs  �>/opt/alt/python311/lib64/python3.11/importlib/resources/abc.py�
open_resourcezResourceReader.open_resources��	� ��c��	t�rrrs  r�
resource_pathzResourceReader.resource_paths��	� �r�pathc��	t�rr�rrs  r�is_resourcezResourceReader.is_resource*s��	� �rc��	t�rr�rs r�contentszResourceReader.contents2s��9��rN)�__name__�
__module__�__qualname__�abc�abstractmethodrrrr�boolr!r�strr$�rrr
r
s�������N���	 �d�	 �x�	 �	 �	 ���	 �	��
 �d�
 �t�
 �
 �
 ���
 �	�� �� �� � � ��� �	�� �(�3�-� � � ��� � � rr
)�	metaclassc�:�eZdZ	ejdedfd���Zdefd�Zdde	e
de
fd�Zejdefd���Z
ejdefd���Zejd	eddfd
���Zdeddfd�Zejdd���Zejde
fd���ZdS)rrc��dSrr,r#s r�iterdirzTraversable.iterdirB���	�	rc��	|�d��5}|���cddd��S#1swxYwYdS�N�rb��open�read)r�strms  r�
read_byteszTraversable.read_bytesHs���	��Y�Y�t�_�_�	���9�9�;�;�	�	�	�	�	�	�	�	�	�	�	�	����	�	�	�	�	�	s�8�<�<N�encodingc��	|�|���5}|���cddd��S#1swxYwYdS)N)r:r5)rr:r8s   r�	read_textzTraversable.read_textOs���	��Y�Y��Y�
)�
)�	�T��9�9�;�;�	�	�	�	�	�	�	�	�	�	�	�	����	�	�	�	�	�	s
�9�=�=c��dSrr,r#s r�is_dirzTraversable.is_dirVr1rc��dSrr,r#s r�is_filezTraversable.is_file\r1r�descendantsc��dSrr,)rrAs  r�joinpathzTraversable.joinpathb���	�	r�childc�.�	|�|��Sr)rC)rrEs  r�__truediv__zTraversable.__truediv__ls��	��}�}�U�#�#�#r�rc��dSrr,)r�mode�args�kwargss    rr6zTraversable.openrrDrc��dSrr,r#s r�namezTraversable.name|r1rr)rH)r%r&r'r(r)rr0�bytesr9r	r+r<r*r>r@�StrPathrCrGr6�abstractpropertyrNr,rrrr8s��������	����-�0�������
�E�������(�3�-��3�����	����������
	����������
	���W���������$��$�]�$�$�$�$�	��������	���c��������rrc��eZdZ	ejdd���Zdedejfd�Z	de
defd�Zdede
fd�Zdeefd	�Zd
S)rrrc��dSrr,r#s r�fileszTraversableResources.files�s��A�Arrc�v�|����|���d��Sr3)rTrCr6rs  rrz"TraversableResources.open_resource�s,���z�z�|�|�$�$�X�.�.�3�3�D�9�9�9rc� �t|���rrrs  rrz"TraversableResources.resource_path�s����)�)�)rrc�t�|����|�����Sr)rTrCr@r s  rr!z TraversableResources.is_resource�s*���z�z�|�|�$�$�T�*�*�2�2�4�4�4rc�b�d�|������D��S)Nc3�$K�|]}|jV��dSr)rN)�.0�items  r�	<genexpr>z0TraversableResources.contents.<locals>.<genexpr>�s$����=�=�d��	�=�=�=�=�=�=r)rTr0r#s rr$zTraversableResources.contents�s*��=�=�d�j�j�l�l�&:�&:�&<�&<�=�=�=�=rN)rr)r%r&r'r(r)rTrP�io�BufferedReaderrrrrr*r!rr+r$r,rrrr�s��������
	��B�B�B���B�:�g�:�"�2C�:�:�:�:�*�c�*�h�*�*�*�*�5��5�D�5�5�5�5�>�(�3�-�>�>�>�>�>�>rr)r(r]�os�typingrrrrrrr	r
rrr+�PathLikerP�__all__�ABCMetar
rrr,rr�<module>rdsI��
�
�
�
�	�	�	�	�	�	�	�	�N�N�N�N�N�N�N�N�N�N�N�N�N�N�N�N�N�N�.�.�.�.�.�.�.�.���������R�[��%�%�
&��
C�
C�
C��' �' �' �' �' �s�{�' �' �' �' �T�G�G�G�G�G�(�G�G���G�T>�>�>�>�>�>�>�>�>�>�>r