AlkantarClanX12

Your IP : 3.149.234.50


Current Path : /proc/self/root/lib64/python2.7/importlib/
Upload File :
Current File : //proc/self/root/lib64/python2.7/importlib/__init__.pyc

�
{fc@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((s*/usr/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((s*/usr/lib64/python2.7/importlib/__init__.pyt
import_modules

(t__doc__RRtNoneR(((s*/usr/lib64/python2.7/importlib/__init__.pyt<module>s