�`^c@s_dZddlmZddlmZddlmZmZmZdejfd��YZ dS(s/Fixer for intern().
intern(s) -> sys.intern(s)i(tpytree(t
fixer_base(tNametAttrttouch_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((s./sys/lib/python2.7/lib2to3/fixes/fix_intern.pyt transforms
"U(t__name__t
__module__tTruet
BM_compatibletordertPATTERNR(((s./sys/lib/python2.7/lib2to3/fixes/fix_intern.pyRs
N(
t__doc__tRRt
fixer_utilRRRtBaseFixR(((s./sys/lib/python2.7/lib2to3/fixes/fix_intern.pyt<module>s
|