You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
--- a/Lib/lib2to3/refactor.py
|
|
+++ b/Lib/lib2to3/refactor.py
|
|
@@ -37,6 +37,12 @@ def get_all_fix_names(fixer_pkg, remove_
|
|
if remove_prefix:
|
|
name = name[4:]
|
|
fix_names.append(name[:-3])
|
|
+ if name.startswith("fix_") and name.endswith(".pyc"):
|
|
+ if remove_prefix:
|
|
+ name = name[4:]
|
|
+ name = name[:-4]
|
|
+ if name not in fix_names:
|
|
+ fix_names.append(name)
|
|
return fix_names
|
|
|
|
|