Wc csd ddlmZddlmZmZmZmZmZmZm Z GddejZ dS)i) fixer_base)AttrCallNameNumber SubscriptNodesymscsZeZdZgdZdZddj deDzZdZdS) FixSysExc)Zexc_typeZ exc_valueZ exc_tracebackTzN power< 'sys' trailer< dot='.' attribute=(%s) > > z|c#s"K|] }d|z dS)z'%s'N)Z.0Zes 2/usr/lib64/python3.12/lib2to3/fixes/fix_sys_exc.pyz zFixSysExc.s"::AVaZZZZZ::cs|dd}t|jj|j}t t d|j }tt d|}|dj |djd_|jt|ttj||j S)NZ attributeiexc_info)prefixZsysZdoti)rr indexZvaluerrr rZchildrenZappendrrrZpower)ZselfZnodeZresultsZsys_attrrZcallZattrs r transformzFixSysExc.transforms;'*t}}**8>>:;D$X__==DK&%,U^%:%:Q" Ie$%%DJJT[[999r N)Z__name__Z __module__Z __qualname__r Z BM_compatibleZjoinZPATTERNrr r r rrsW999HMHH:::::;G:::::r rN) ZrZ fixer_utilrrrrrrrZBaseFixrr r r rsHHHHHHHHHHHHHHHHHH::::: ""::::r