PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
libfuturize
/
fixes
/
__pycache__
/
Editing: fix_remove_old__future__imports.cpython-311.pyc
� � hS � �H � d Z ddlmZ ddlmZ G d� dej � � ZdS )a� Fixer for removing any of these lines: from __future__ import with_statement from __future__ import nested_scopes from __future__ import generators The reason is that __future__ imports like these are required to be the first line of code (after docstrings) on Python 2.6+, which can get in the way. These imports are always enabled in Python 2.6+, which is the minimum sane version to target for Py2/3 compatibility. � )� fixer_base��remove_future_importc � � e Zd ZdZdZdZd� ZdS )�FixRemoveOldFutureImportsT� file_input� c �f � t d|� � t d|� � t d|� � d S )N�with_statement� nested_scopes� generatorsr )�self�node�resultss ��/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/libfuturize/fixes/fix_remove_old__future__imports.py� transformz#FixRemoveOldFutureImports.transform s: � ��.��5�5�5��-�t�4�4�4��]�D�1�1�1�1�1� N)�__name__� __module__�__qualname__� BM_compatible�PATTERN� run_orderr � r r r r s2 � � � � � ��M��G��I�2� 2� 2� 2� 2r r N)�__doc__�lib2to3r �libfuturize.fixer_utilr �BaseFixr r r r �<module>r sl ��� � � � � � � � 7� 7� 7� 7� 7� 7�2� 2� 2� 2� 2� � 2� 2� 2� 2� 2� 2r
SAVE
CANCEL