You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libfuturize/fixes2/__init__.py
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,8 @@
36
36
'lib2to3.fixes.fix_xreadlines',
37
37
])
38
38
39
-
# The following fixers add a dependency on the ``future`` package:
39
+
# The following fixers add a dependency on the ``future`` package on order to
40
+
# support Python 2:
40
41
lib2to3_fix_names_stage2=set([
41
42
'lib2to3.fixes.fix_basestring',
42
43
# 'lib2to3.fixes.fix_buffer', # perhaps not safe. Test this.
@@ -64,7 +65,6 @@
64
65
])
65
66
66
67
libfuturize_2fix_names_stage1=set([
67
-
'libfuturize.fixes2.fix_add__future__imports_except_unicode_literals', # we force adding all imports for now, even if they don't seem necessary, for ease of testing
68
68
'libfuturize.fixes2.fix_absolute_import',
69
69
'libfuturize.fixes2.fix_division',
70
70
'libfuturize.fixes2.fix_print_with_import',
@@ -73,8 +73,6 @@
73
73
])
74
74
75
75
libfuturize_2fix_names_stage2=set([
76
-
'libfuturize.fixes2.fix_add__future__imports',
77
-
'libfuturize.fixes2.fix_add_future_standard_library_import', # we force adding this import for now, even if it doesn't seem necessary to the fix_future_standard_library fixer, for ease of testing
0 commit comments