� �V~gc@sKd�Zdd d��YZdd d��YZdZd�Zd�ZdS( cCsJg}x=|D]5}t|t�r5|t|�}q |j|�q W|S(N(t isinstancettupletflattentappend(ttupteltstelt((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyRs  tSetcBsPeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z RS(cCs i|_dS(N(R(tself((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyt__init__ scCs t|j�S(N(tlenR(R((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyt__len__scCs ||jkS(N(R(RR((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyt __contains__scCs||j|<dS(N(R(RR((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pytaddscCs |jj�S(N(Rtkeys(R((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pytelementsscCs ||jkS(N(R(RR((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pythas_eltscCs|j|=dS(N(R(RR((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pytremovescCs t�}|jj|j�|S(N(RRtupdate(Rtc((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pytcopys ( t__name__t __module__R R R R RRRR(((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyR s       tStackcBs5eZd�Zd�Zd�Zd�Zd�ZRS(cCsg|_|jj|_dS(N(tstacktpop(R((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyR s cCs t|j�S(N(R R(R((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyR #scCs|jj|�dS(N(RR(RR((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pytpush%scCs |jdS(Ni����(R(R((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyttop'scCs |j|S(N(R(Rtindex((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyt __getitem__)s(RRR R RRR(((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyRs     icCs�|jd�s|St|�dtkr-|S|jd�r@|Sy+d}x||dkri|d}qLWWntk r|SX||}t|�t|�}|tkr�|t| }nd||fS(Nt__iit_is_%s%s(t startswithR t MANGLE_LENtendswitht IndexError(tnametklasstittlen((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pytmangle.s"   cCsE|g}x5|r@|jd�}||_|j|j��q WdS(s<Set the filename attribute to filename on every node in treeiN(Rtfilenametextendt getChildNodes(R)ttreetworklisttnode((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyt set_filenameCs    N(((RRRR!R(R/(((s2/opt/alt/python27/lib64/python2.7/compiler/misc.pyt<module>s