%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/lib2to3/fixes/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/lib2to3/fixes/fix_execfile.pyc

ó
Pêáac@sydZddlmZddlmZmZmZmZmZm	Z	m
Z
mZmZm
Z
dejfd„ƒYZdS(soFixer for execfile.

This converts usages of the execfile function into calls to the built-in
exec() function.
i(t
fixer_base(
tCommatNametCalltLParentRParentDottNodetArgListtStringtsymstFixExecfilecBseZeZdZd„ZRS(s«
    power< 'execfile' trailer< '(' arglist< filename=any [',' globals=any [',' locals=any ] ] > ')' > >
    |
    power< 'execfile' trailer< '(' filename=any ')' > >
    cCs¸|st‚|d}|jdƒ}|jdƒ}|jdjdjƒ}t|jƒtƒtddƒgd|ƒ}ttj	t
dƒ|gƒ}ttjtƒt
d	ƒgƒttjt
ƒtƒgƒg}	|g|	}
|jƒ}d
|_tdd
ƒ}|
tƒ|tƒ|g}
tt
dƒ|
d
ƒ}|g}|dk	rq|jtƒ|jƒgƒn|dk	rœ|jtƒ|jƒgƒntt
dƒ|d|jƒS(Ntfilenametglobalstlocalsiÿÿÿÿs"rb"t trparenuopenureadu u'exec'ucompileuuexectprefix(tAssertionErrortgettchildrentcloneRRR	RR
tpowerRttrailerRRRRRtNonetextend(tselftnodetresultsRR
Rtexecfile_parent	open_argst	open_calltreadt	open_exprtfilename_argtexec_strtcompile_argstcompile_calltargs((s6/usr/local/lib/python2.7/lib2to3/fixes/fix_execfile.pyt	transforms,
$	!
		(t__name__t
__module__tTruet
BM_compatibletPATTERNR'(((s6/usr/local/lib/python2.7/lib2to3/fixes/fix_execfile.pyRsN(t__doc__tRt
fixer_utilRRRRRRRRR	R
tBaseFixR(((s6/usr/local/lib/python2.7/lib2to3/fixes/fix_execfile.pyt<module>sF

Zerion Mini Shell 1.0