Your IP : 18.118.137.13


Current Path : /opt/alt/python310/lib64/python3.10/importlib/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/importlib/__pycache__/_adapters.cpython-310.opt-2.pyc

o

6��ft�@sNddlmZddlmZGdd�d�ZGdd�d�ZGdd	�d	�Zd
d�ZdS)
�)�suppress�)�abcc@s&eZdZ	dd�fdd�Zdd�ZdS)�SpecLoaderAdaptercCs|jS�N)�loader��spec�r
�:/opt/alt/python310/lib64/python3.10/importlib/_adapters.py�<lambda>szSpecLoaderAdapter.<lambda>cCs||_||�|_dSr)r	r)�selfr	Zadapterr
r
r�__init__szSpecLoaderAdapter.__init__cC�t|j|�Sr)�getattrr	�r
�namer
r
r�__getattr__�zSpecLoaderAdapter.__getattr__N)�__name__�
__module__�__qualname__rrr
r
r
rrsrc@seZdZ	dd�Zdd�ZdS)�TraversableResourcesLoadercC�
||_dSrr�r
r	r
r
rr�
z#TraversableResourcesLoader.__init__cCst|j���Sr)�DegenerateFilesr	�_nativerr
r
r�get_resource_readersz.TraversableResourcesLoader.get_resource_readerN)rrrrrr
r
r
rrsrc@sLeZdZ	Gdd�dej�Zdd�Zedd��Zdd�Z	d	d
�Z
dd�Zd
S)rc@sBeZdZdd�Zdd�ZeZZdd�Zedd��Z	d
d
d�Z
dS)zDegenerateFiles.PathcCstd�S)Nr
)�iter�r
r
r
r�iterdir&�zDegenerateFiles.Path.iterdircC�dS)NFr
r r
r
r�is_dir)szDegenerateFiles.Path.is_dircC�t��Sr�r�Path)r
�otherr
r
r�joinpath.r"zDegenerateFiles.Path.joinpathcCr#)N�r
r r
r
rr1szDegenerateFiles.Path.name�rbcOst��r)�
ValueError)r
�mode�args�kwargsr
r
r�open5szDegenerateFiles.Path.openN)r+)rrrr!r$�is_file�existsr)�propertyrr0r
r
r
rr'%s
r'cCrrrrr
r
rr8rzDegenerateFiles.__init__cCs>tt��|jj�|jj�Wd�S1swYdSr)r�AttributeErrorr	rrrr r
r
r�_reader;s
$�zDegenerateFiles._readercCs	|j}t|d�r|S|S)N�files)r5�hasattr)r
�readerr
r
rr@szDegenerateFiles._nativecCrr)rr5)r
�attrr
r
rrGrzDegenerateFiles.__getattr__cCr%rr&r r
r
rr6Jr"zDegenerateFiles.filesN)rrrrZTraversabler'rr3r5rrr6r
r
r
rrs
rcCs	t|jt�Sr)r�__spec__r)�packager
r
r�	wrap_specNsr<N)�
contextlibrr*rrrrr<r
r
r
r�<module>s
/

?>