%PDF- %PDF-
Direktori : /proc/thread-self/root/lib64/python2.7/lib2to3/fixes/ |
Current File : //proc/thread-self/root/lib64/python2.7/lib2to3/fixes/fix_intern.pyc |
� {fc @ s_ d Z d d l m Z d d l m Z d d l m Z m Z m Z d e j f d � � YZ d S( s/ Fixer for intern(). intern(s) -> sys.intern(s)i ( t pytree( t fixer_base( t Namet Attrt touch_importt FixInternc B s# e Z e Z d Z d Z d � Z RS( t pres� power< 'intern' trailer< lpar='(' ( not(arglist | argument<any '=' any>) obj=any | obj=arglist<(not argument<any '=' any>) any ','> ) rpar=')' > after=any* > c C so | rd | d } | rd | j | j j k r/ d S| j | j j k ra | j d j d k ra d Sqd n | j } | d j � } | j | j k r� | j � } n t j | j | j � g � } | d } | r� g | D] } | j � ^ q� } n t j | j t t d � t d � � t j | j | d j � | | d j � g � g | � } | j | _ t d d | � | S( Nt obji s **t afteru sysu internt lpart rpar( t typet symst star_exprt argumentt childrent valuet clonet arglistR t Nodet powerR R t trailert prefixR t None( t selft nodet resultsR R t newarglistR t nt new( ( s0 /usr/lib64/python2.7/lib2to3/fixes/fix_intern.pyt transform s* "U( t __name__t __module__t Truet BM_compatiblet ordert PATTERNR ( ( ( s0 /usr/lib64/python2.7/lib2to3/fixes/fix_intern.pyR s N( t __doc__t R R t fixer_utilR R R t BaseFixR ( ( ( s0 /usr/lib64/python2.7/lib2to3/fixes/fix_intern.pyt <module> s