Your IP : 3.135.209.231
��Yf� � @ sI d Z d d l m Z d d l m Z m Z Gd d � d e j � Z d S)z/Fixer for intern().
intern(s) -> sys.intern(s)� )�
fixer_base)�
ImportAndCall�touch_importc @ s. e Z d Z d Z d Z d Z d d � Z d S)� FixInternTZprez�
power< 'intern'
trailer< lpar='('
( not(arglist | argument<any '=' any>) obj=any
| obj=arglist<(not argument<any '=' any>) any ','> )
rpar=')' >
after=any*
>
c C s� | r^ | d } | r^ | j | j j k r/ d S| j | j j k r^ | j d j d k r^ d Sd } t | | | � } t d d | � | S)N�obj� z**�sys�intern)r r )�typeZsymsZ star_exprZargumentZchildren�valuer r )�selfZnodeZresultsr �names�new� r �=/opt/alt/python35/lib64/python3.5/lib2to3/fixes/fix_intern.py� transform s
zFixIntern.transformN)�__name__�
__module__�__qualname__Z
BM_compatible�orderZPATTERNr r r r r r
s
r N)�__doc__� r Z
fixer_utilr r ZBaseFixr r r r r �<module> s