Your IP : 3.145.32.151


Current Path : /lib64/python2.7/lib2to3/fixes/
Upload File :
Current File : //lib64/python2.7/lib2to3/fixes/fix_intern.pyc

�
�mec@s_dZddlmZddlmZddlmZmZmZdejfd��YZ	dS(s/Fixer for intern().

intern(s) -> sys.intern(s)i(tpytree(t
fixer_base(tNametAttrttouch_importt	FixInterncBs#eZeZdZdZd�ZRS(tpres�
    power< 'intern'
           trailer< lpar='('
                    ( not(arglist | argument<any '=' any>) obj=any
                      | obj=arglist<(not argument<any '=' any>) any ','> )
                    rpar=')' >
           after=any*
    >
    c		Cs|j}|dj�}|j|jkr:|j�}ntj|j|j�g�}|d}|r�g|D]}|j�^qo}ntj|jttd�td��tj|j	|dj�||dj�g�g|�}|j
|_
tdd|�|S(Ntobjtafterusysuinterntlpartrpar(
tsymstclonettypetarglistRtNodetpowerRRttrailertprefixRtNone(	tselftnodetresultsRRt
newarglistRtntnew((s0/usr/lib64/python2.7/lib2to3/fixes/fix_intern.pyt	transforms	
"U(t__name__t
__module__tTruet
BM_compatibletordertPATTERNR(((s0/usr/lib64/python2.7/lib2to3/fixes/fix_intern.pyRs
N(
t__doc__tRRt
fixer_utilRRRtBaseFixR(((s0/usr/lib64/python2.7/lib2to3/fixes/fix_intern.pyt<module>s