AlkantarClanX12
Current Path : /usr/lib64/python2.7/ |
Current File : //usr/lib64/python2.7/modulefinder.pyc |
� zfc @ sl d Z d d l m Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z e e j d � r� d Z n d Z e j d Z e j d Z e j d Z e j d Z e e f Z e j Z e j Z d � Z i Z d � Z i Z d � Z d f d � � YZ d f d � � YZ d � Z e d k rhy e � Z Wn e k rdd GHn Xn d S( s3 Find modules used by a script, using introspection.i����( t generatorsNt newlinest Ut rt LOAD_CONSTt IMPORT_NAMEt STORE_NAMEt STORE_GLOBALc c s� d } t | � } d } x� | | k r� t | | � } | } | d } d } | t k r� t | | � t | | d � d | } d } | d } | t k r� | d } q� n | | | f Vq Wd S( Ni i i i i ( t lent ordt Nonet HAVE_ARGUMENTt EXTENDED_ARG( t codet extended_argt nt it opt offsett arg( ( s$ /usr/lib64/python2.7/modulefinder.pyt _unpack_opargs s * c C s- t j | g � } | j | � | t | <d S( N( t packagePathMapt gett append( t packagenamet patht paths( ( s$ /usr/lib64/python2.7/modulefinder.pyt AddPackagePath6 s c C s | t | <d S( N( t replacePackageMap( t oldnamet newname( ( s$ /usr/lib64/python2.7/modulefinder.pyt ReplacePackageB s t Modulec B s e Z d d d � Z d � Z RS( c C s: | | _ | | _ | | _ d | _ i | _ i | _ d S( N( t __name__t __file__t __path__R t __code__t globalnamest starimports( t selft namet fileR ( ( s$ /usr/lib64/python2.7/modulefinder.pyt __init__H s c C sj d | j f } | j d k r6 | d | j f } n | j d k r\ | d | j f } n | d } | S( Ns Module(%rs , %rt )( R! R"