Searched refs:fixer_pkg (Results 1 – 4 of 4) sorted by relevance
/third_party/python/Lib/lib2to3/tests/ |
D | support.py | 37 def get_refactorer(fixer_pkg="lib2to3", fixers=None, options=None): argument 46 fixers = [fixer_pkg + ".fixes.fix_" + fix for fix in fixers] 48 fixers = refactor.get_fixers_from_package(fixer_pkg + ".fixes")
|
D | test_fixers.py | 17 def setUp(self, fix_list=None, fixer_pkg="lib2to3", options=None): argument 20 self.refactor = support.get_refactorer(fixer_pkg, fix_list, options)
|
/third_party/python/Lib/lib2to3/ |
D | main.py | 133 def main(fixer_pkg, args=None): argument 200 for fixname in refactor.get_all_fix_names(fixer_pkg): 225 avail_fixes = set(refactor.get_fixers_from_package(fixer_pkg)) 226 unwanted_fixes = set(fixer_pkg + ".fix_" + fix for fix in options.nofix) 234 explicit.add(fixer_pkg + ".fix_" + fix)
|
D | refactor.py | 31 def get_all_fix_names(fixer_pkg, remove_prefix=True): argument 33 pkg = __import__(fixer_pkg, [], [], ["*"])
|