3 \‚ã@s6dZddlmZddlmZmZGdd„dejƒZdS)z/Fixer for reload(). reload(s) -> imp.reload(s)é)Ú fixer_base)Ú ImportAndCallÚ touch_importc@s eZdZdZdZdZdd„ZdS)Ú FixReloadTZprezÿ power< 'reload' trailer< lpar='(' ( not(arglist | argument) any ','> ) rpar=')' > after=any* > cCsd|rD|d}|rD|j|jjkr"dS|j|jjkrD|jdjdkrDdSd}t|||ƒ}tdd|ƒ|S)NÚobjéz**ÚimpÚreload)rr )ÚtypeZsymsZ star_exprZargumentZchildrenÚvaluerr)ÚselfZnodeÚresultsrÚnamesÚnew©rú"/usr/lib64/python3.6/fix_reload.pyÚ transforms  zFixReload.transformN)Ú__name__Ú __module__Ú __qualname__Z BM_compatibleÚorderZPATTERNrrrrrr s rN)Ú__doc__ÚrZ fixer_utilrrZBaseFixrrrrrÚs