Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.6/site-packages/libfuturize/fixes/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.6/site-packages/libfuturize/fixes/__pycache__/fix_execfile.cpython-36.pyc

3

�uGh��@sBdZddlmZddlmZddlmZdZGdd�dej�Z	dS)	ao
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.
�)�unicode_literals)�
fixer_base)�touch_import_topzname='execfile'c@s&eZdZdZdZdje�Zdd�ZdS)�FixExecfileT�	zs
              power<
                 ({0}) trailer< '(' args=[any] ')' >
              rest=any* >
              cCs|d}td|j|�dS)N�namez
past.builtins)r�value)�self�node�resultsr�r�E/root/tmp/pip-build-gzoz1_uw/future/libfuturize/fixes/fix_execfile.py�	transform#szFixExecfile.transformN)	�__name__�
__module__�__qualname__Z
BM_compatibleZ	run_order�format�
expressionZPATTERNrrrrr
rs
rN)
�__doc__�
__future__rZlib2to3rZlibfuturize.fixer_utilrrZBaseFixrrrrr
�<module>s


Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists