AlkantarClanX12

Your IP : 3.137.159.17


Current Path : /proc/self/root/opt/alt/python39/lib64/python3.9/importlib/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python39/lib64/python3.9/importlib/__pycache__/__init__.cpython-39.pyc

a

R�f��@s\dZgd�ZddlZddlZzddlZWn*eyRddlmZe�ee�Yn>0de_	de_
ze�dd	�e_Wne
y�Yn0eejd<zddlZWn.ey�dd
lmZe�e�ee_Yn>0de_	de_
ze�dd�e_Wne
y�Yn0eejd<ejZejZddlZddlZdd
lmZdd�Zddd�Zddd�ZiZdd�ZdS)z'A pure Python implementation of import.)�
__import__�
import_module�invalidate_caches�reload�N�)�
_bootstrapzimportlib._bootstrap�	importlibz__init__.pyz
_bootstrap.py)�_bootstrap_externalzimportlib._bootstrap_externalz_bootstrap_external.py)rcCs"tjD]}t|d�r|��qdS)zmCall the invalidate_caches() method on all meta path finders stored in
    sys.meta_path (where implemented).rN)�sys�	meta_path�hasattrr)�finder�r�7/opt/alt/python39/lib64/python3.9/importlib/__init__.pyrBs

rcCs�tjdtdd�z.tj|j}|dur6td�|���n|WSWn2tyPYn"t	yptd�|��d�Yn0t
�||�}|dur�dS|jdur�|j
dur�td�|�|d��td	|d��|jS)
z�Return the loader for the specified module.

    This is a backward-compatible wrapper around find_spec().

    This function is deprecated in favor of importlib.util.find_spec().

    zDDeprecated since Python 3.4. Use importlib.util.find_spec() instead.�)�
stacklevelNz{}.__loader__ is Nonez{}.__loader__ is not setzspec for {} missing loader��namez&namespace packages do not have loaders)�warnings�warn�DeprecationWarningr
�modules�
__loader__�
ValueError�format�KeyError�AttributeErrorr�
_find_spec�loader�submodule_search_locations�ImportError)r�pathr�specrrr�find_loaderJs0�



��r#cCsXd}|�d�rB|s$d}t|�|���|D]}|dkr8qB|d7}q(t�||d�||�S)z�Import a module.

    The 'package' argument is required when performing a relative import. It
    specifies the package to use as the anchor point from which to resolve the
    relative import to an absolute import.

    r�.zHthe 'package' argument is required to perform a relative import for {!r}rN)�
startswith�	TypeErrorrr�_gcd_import)r�package�level�msg�	characterrrrrms

rcCs�|rt|tj�std��z|jj}Wnty<|j}Yn0tj	�
|�|urdd}t|�|�|d��|t
vrtt
|S|t
|<z�|�d�d}|r�ztj	|}Wn*ty�d}t|�|�|d�d�Yq�0|j}nd}|}t�|||�}|_|du�r
td|��|d��t�||�tj	|Wz
t
|=WSt�y>YS0Sz
t
|=Wnt�y`Yn0n"z
t
|=Wnt�y�Yn00dS)	zcReload the module and return it.

    The module must have been successfully imported before.

    z"reload() argument must be a modulezmodule {} not in sys.modulesrr$rzparent {!r} not in sys.modulesNzspec not found for the module )�
isinstance�types�
ModuleTyper&�__spec__rr�__name__r
r�getr r�
_RELOADING�
rpartitionr�__path__rr�ModuleNotFoundError�_exec)�modulerr*�parent_name�parent�pkgpath�targetr"rrrr�sZ
��


�
�
r)N)N)�__doc__�__all__�_impr
�_frozen_importlibrr ��_setupr0�__package__�__file__�replace�	NameErrorr�_frozen_importlib_externalr	�_pack_uint32�_unpack_uint32r-rrrr#rr2rrrrr�<module>sL




#