AlkantarClanX12

Your IP : 18.119.142.210


Current Path : /opt/alt/python27/lib64/python2.7/importlib/
Upload File :
Current File : //opt/alt/python27/lib64/python2.7/importlib/__init__.pyc

�
^
bc@s+dZddlZd�Zdd�ZdS(s-Backport of importlib.import_module from 3.x.i����NcCs�t|d�std��nt|�}xSt|dd�D]?}y|jdd|�}Wq=tk
r{td��q=Xq=Wd|| |fS(	s6Return the absolute name of the module to be imported.trindexs'package' not set to a stringii����t.is2attempted relative import beyond top-level packages%s.%s(thasattrt
ValueErrortlentxrangeR(tnametpackagetleveltdottx((s7/opt/alt/python27/lib64/python2.7/importlib/__init__.pyt
_resolve_names
cCs�|jd�rn|s$td��nd}x(|D] }|dkrGPn|d7}q1Wt||||�}nt|�tj|S(s�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.

    Rs/relative imports require the 'package' argumentii(t
startswitht	TypeErrorRt
__import__tsystmodules(RRRt	character((s7/opt/alt/python27/lib64/python2.7/importlib/__init__.pyt
import_modules

(t__doc__RRtNoneR(((s7/opt/alt/python27/lib64/python2.7/importlib/__init__.pyt<module>s