Spade

Mini Shell

Directory:~$ /proc/self/root/usr/lib/python2.7/site-packages/libfuturize/fixes/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ //proc/self/root/usr/lib/python2.7/site-packages/libfuturize/fixes/fix_execfile.pyo

�
,�]c@sYdZddlmZddlmZddlmZdZdejfd��YZ	dS(	uo
Fixer for the execfile() function on Py2, which was removed in Py3.

The Lib/lib2to3/fixes/fix_execfile.py module has some problems: see
python-future issue #37. This fixer merely imports execfile() from
past.builtins and leaves the code alone.

Adds this import line::

    from past.builtins import execfile

for the function execfile() that was removed from Py3.
i����(tunicode_literals(t
fixer_base(ttouch_import_topuname='execfile'tFixExecfilecBs,eZeZdZdje�Zd�ZRS(i	us
              power<
                 ({0}) trailer< '(' args=[any] ')'
>
              rest=any* >
             
cCs!|d}td|j|�dS(Nunameu
past.builtins(Rtvalue(tselftnodetresultstname((sB/usr/lib/python2.7/site-packages/libfuturize/fixes/fix_execfile.pyt	transform#s
(	t__name__t
__module__tTruet
BM_compatiblet	run_ordertformatt
expressiontPATTERNR	(((sB/usr/lib/python2.7/site-packages/libfuturize/fixes/fix_execfile.pyRsN(
t__doc__t
__future__Rtlib2to3Rtlibfuturize.fixer_utilRRtBaseFixR(((sB/usr/lib/python2.7/site-packages/libfuturize/fixes/fix_execfile.pyt<module>s