ok
Direktori : /opt/alt/python35/lib64/python3.5/importlib/__pycache__/ |
Current File : //opt/alt/python35/lib64/python3.5/importlib/__pycache__/util.cpython-35.opt-2.pyc |
���]S* � @ s� d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l Z d d l Z d d l Z d d l Z d d � Z d d d � Z d d d � Z e d d � � Z d d � Z d d � Z d d � Z Gd d � d e j � Z Gd d � d e j � Z Gd d! � d! e j � Z d S)"� )�abc)�module_from_spec)� _resolve_name)�spec_from_loader)� _find_spec)�MAGIC_NUMBER�_BACKCOMPAT_MAGIC_NUMBER)�cache_from_source)� decode_source)�source_from_cache)�spec_from_file_location� )�contextmanagerNc C sv | j d � s | S| s. t d j | � � � d } x% | D] } | d k rN P| d 7} q; Wt | | d � | | � S)N�.z,{!r} is not a relative name (no leading dot)r r )� startswith� ValueError�formatr )�name�package�level� character� r �)/opt/alt/python35/lib64/python3.5/util.py�resolve_name s r c C s� | t j k r t | | � St j | } | d k r9 d Sy | j } Wn* t k rr t d j | � � d � Yn&