PATH:
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
libfuturize
/
fixes
""" Fixer for input. Does a check for `from builtins import input` before running the lib2to3 fixer. The fixer will not run when the input is already present. this: a = input() becomes: from builtins import input a = eval(input()) and this: from builtins import input a = input() becomes (no change): from builtins import input a = input() """ import lib2to3.fixes.fix_input from lib2to3.fixer_util import does_tree_import class FixInput(lib2to3.fixes.fix_input.FixInput): def transform(self, node, results): if does_tree_import('builtins', 'input', node): return return super(FixInput, self).transform(node, results)
[-] fix_input.py
[edit]
[-] fix_print.py
[edit]
[-] fix_add__future__imports_except_unicode_literals.py
[edit]
[-] fix_bytes.py
[edit]
[-] fix_xrange_with_import.py
[edit]
[-] fix_future_standard_library.py
[edit]
[-] fix_cmp.py
[edit]
[-] fix_future_builtins.py
[edit]
[+]
__pycache__
[-] fix_execfile.py
[edit]
[-] fix_future_standard_library_urllib.py
[edit]
[-] fix_oldstr_wrap.py
[edit]
[-] fix_basestring.py
[edit]
[+]
..
[-] fix_metaclass.py
[edit]
[-] fix_raise.py
[edit]
[-] fix_order___future__imports.py
[edit]
[-] fix_next_call.py
[edit]
[-] fix_object.py
[edit]
[-] fix_print_with_import.py
[edit]
[-] fix_remove_old__future__imports.py
[edit]
[-] fix_absolute_import.py
[edit]
[-] fix_unicode_literals_import.py
[edit]
[-] fix_division.py
[edit]
[-] __init__.py
[edit]
[-] fix_UserDict.py
[edit]
[-] fix_unicode_keep_u.py
[edit]
[-] fix_division_safe.py
[edit]