ACC SHELL

Path : /usr/lib/python/lib2to3/fixes/
File Upload :
Current File : //usr/lib/python/lib2to3/fixes/fix_throw.pyc

Ñò
sÄMc@s{dZddklZddklZddklZddklZlZl	Z	l
Z
lZdeifd„ƒYZ
dS(	sÖFixer for generator.throw(E, V, T).

g.throw(E)       -> g.throw(E)
g.throw(E, V)    -> g.throw(E(V))
g.throw(E, V, T) -> g.throw(E(V).with_traceback(T))

g.throw("foo"[, V[, T]]) will warn about string exceptions.i(tpytree(ttoken(t
fixer_base(tNametCalltArgListtAttrtis_tupletFixThrowcBseZdZd„ZRS(sÉ
    power< any trailer< '.' 'throw' >
           trailer< '(' args=arglist< exc=any ',' val=any [',' tb=any] > ')' >
    >
    |
    power< any trailer< '.' 'throw' > trailer< '(' exc=any ')' > >
    c
Cs`|i}|diƒ}|itijo|i|dƒdS|idƒ}|djodS|iƒ}t|ƒo5g}|i	dd!D]}||iƒq~}nd|_
|g}|d}	d|jom|diƒ}
d|
_
t||ƒ}t|t
d	ƒƒt|
gƒg}|	iti|i|ƒƒn|	it||ƒƒdS(
Ntexcs+Python 3 does not support string exceptionsuvaliiÿÿÿÿutargsttbuwith_traceback(tsymstclonettypeRtSTRINGtcannot_converttgettNoneRtchildrentprefixRRRRtreplaceRtNodetpower(
tselftnodetresultsRR	tvalt_[1]tcR
t
throw_argsRtetwith_tb((s-/usr/lib/python2.6/lib2to3/fixes/fix_throw.pyt	transforms*	

5		

	% (t__name__t
__module__tPATTERNR!(((s-/usr/lib/python2.6/lib2to3/fixes/fix_throw.pyRsN(t__doc__tRtpgen2RRt
fixer_utilRRRRRtBaseFixR(((s-/usr/lib/python2.6/lib2to3/fixes/fix_throw.pyt<module>s
(

ACC SHELL 2018