U iÛfxã@s6dZddlmZddlmZmZGdd„dejƒZdS)z/Fixer for intern(). intern(s) -> sys.intern(s)é)Ú fixer_base)Ú ImportAndCallÚ touch_importc@s eZdZdZdZdZdd„ZdS)Ú FixInternTZprezÿ power< 'intern' trailer< lpar='(' ( not(arglist | argument) any ','> ) rpar=')' > after=any* > cCsR|r2|d}|r2|j|jjkr2|jdjdkr2dSd}t|||ƒ}tdd|ƒ|S)NÚobjé>ú**Ú*)ÚsysÚinternr )ÚtypeZsymsZargumentZchildrenÚvaluerr)ÚselfZnodeZresultsrÚnamesÚnew©rú=/opt/alt/python38/lib64/python3.8/lib2to3/fixes/fix_intern.pyÚ transformsÿ  zFixIntern.transformN)Ú__name__Ú __module__Ú __qualname__Z BM_compatibleÚorderZPATTERNrrrrrr s rN)Ú__doc__ÚrZ fixer_utilrrZBaseFixrrrrrÚs