Home
last modified time | relevance | path

Searched refs:fixer_pkg (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/lib2to3/tests/
Dsupport.py37 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")
Dtest_fixers.py17 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/
Dmain.py133 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)
Drefactor.py31 def get_all_fix_names(fixer_pkg, remove_prefix=True): argument
33 pkg = __import__(fixer_pkg, [], [], ["*"])