/external/python/cpython2/Lib/lib2to3/tests/ |
D | support.py | 33 def get_refactorer(fixer_pkg="lib2to3", fixers=None, options=None): argument 41 if fixers is not None: 42 fixers = [fixer_pkg + ".fixes.fix_" + fix for fix in fixers] 44 fixers = refactor.get_fixers_from_package(fixer_pkg + ".fixes") 46 return refactor.RefactoringTool(fixers, options, explicit=True)
|
D | test_refactor.py | 48 def rt(self, options=None, fixers=_DEFAULT_FIXERS, explicit=None): argument 49 return refactor.RefactoringTool(fixers, options, explicit) 152 self.assertRaises(ImportError, self.rt, fixers=["not_here"]) 153 self.assertRaises(refactor.FixerError, self.rt, fixers=["no_fixer_cls"]) 154 self.assertRaises(refactor.FixerError, self.rt, fixers=["bad_order"]) 186 def check_file_refactoring(self, test_file, fixers=_2TO3_FIXERS, argument 201 rt = self.rt(fixers=fixers, options=options) 224 self.check_file_refactoring(test_file, fixers=(), 314 rt = self.rt(fixers=["myfixes.fix_explicit"])
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | support.py | 37 def get_refactorer(fixer_pkg="lib2to3", fixers=None, options=None): argument 45 if fixers is not None: 46 fixers = [fixer_pkg + ".fixes.fix_" + fix for fix in fixers] 48 fixers = refactor.get_fixers_from_package(fixer_pkg + ".fixes") 50 return refactor.RefactoringTool(fixers, options, explicit=True)
|
D | test_refactor.py | 42 def rt(self, options=None, fixers=_DEFAULT_FIXERS, explicit=None): argument 43 return refactor.RefactoringTool(fixers, options, explicit) 146 self.assertRaises(ImportError, self.rt, fixers=["not_here"]) 147 self.assertRaises(refactor.FixerError, self.rt, fixers=["no_fixer_cls"]) 148 self.assertRaises(refactor.FixerError, self.rt, fixers=["bad_order"]) 180 def check_file_refactoring(self, test_file, fixers=_2TO3_FIXERS, argument 185 rt = self.rt(fixers=fixers, options=options) 211 def refactor_file(self, test_file, fixers=_2TO3_FIXERS): argument 214 rt = self.rt(fixers=fixers) 228 self.check_file_refactoring(test_file, fixers=(), [all …]
|
/external/python/cpython3/Lib/lib2to3/ |
D | btm_matcher.py | 22 self.fixers = [] 34 self.fixers = [] 42 self.fixers.append(fixer) 47 match_node.fixers.append(fixer) 119 for fixer in current_ac_node.fixers: 133 for fixer in current_ac_node.fixers: 146 (node.id, subnode.id, type_repr(subnode_key), str(subnode.fixers)))
|
D | refactor.py | 171 self.fixers = fixer_names 225 for fix_mod_path in self.fixers: 413 for fixer in self.BM.fixers: 465 def traverse_by(self, fixers, traversal): argument 477 if not fixers: 480 for fixer in fixers[node.type]:
|
D | main.py | 36 def __init__(self, fixers, options, explicit, nobackups, show_diffs, argument 63 super(StdoutRefactoringTool, self).__init__(fixers, options, explicit)
|
/external/python/cpython2/Lib/lib2to3/ |
D | btm_matcher.py | 22 self.fixers = [] 34 self.fixers = [] 42 self.fixers.append(fixer) 47 match_node.fixers.append(fixer) 119 for fixer in current_ac_node.fixers: 136 for fixer in current_ac_node.fixers: 151 (node.id, subnode.id, type_repr(subnode_key), str(subnode.fixers)))
|
D | refactor.py | 190 self.fixers = fixer_names 244 for fix_mod_path in self.fixers: 432 for fixer in self.BM.fixers: 484 def traverse_by(self, fixers, traversal): argument 496 if not fixers: 499 for fixer in fixers[node.type]:
|
D | main.py | 36 def __init__(self, fixers, options, explicit, nobackups, show_diffs, argument 63 super(StdoutRefactoringTool, self).__init__(fixers, options, explicit)
|
/external/python/setuptools/docs/ |
D | python3.txt | 40 By default, the conversion uses all fixers in the ``lib2to3.fixers`` package. 41 To use additional fixers, the parameter ``use_2to3_fixers`` can be set 42 to a list of names of packages containing fixers. To exclude fixers, the 61 use_2to3_fixers=['your.fixers'],
|
D | setuptools.txt | 413 A list of modules to search for additional fixers to be used during
|
/external/python/cpython2/Doc/library/ |
D | 2to3.rst | 9 of *fixers* to transform it into valid Python 3.x code. The standard library 10 contains a rich set of fixers that will handle almost all code. 2to3 supporting 12 possible to write your own fixers for 2to3. :mod:`lib2to3` could also be 61 By default, 2to3 runs a set of :ref:`predefined fixers <2to3-fixers>`. The 62 :option:`!-l` flag lists all available fixers. An explicit set of fixers to run 64 fixer. The following example runs only the ``imports`` and ``has_key`` fixers: 76 Some fixers are *explicit*, meaning they aren't run by default and must be 77 listed on the command line to be run. Here, in addition to the default fixers, 84 Notice how passing ``all`` enables all default fixers. 104 :option:`!-p` to run fixers on code that already has had its print statements [all …]
|
/external/python/cpython3/Doc/library/ |
D | 2to3.rst | 9 of *fixers* to transform it into valid Python 3.x code. The standard library 10 contains a rich set of fixers that will handle almost all code. 2to3 supporting 12 possible to write your own fixers for 2to3. :mod:`lib2to3` could also be 61 By default, 2to3 runs a set of :ref:`predefined fixers <2to3-fixers>`. The 62 :option:`!-l` flag lists all available fixers. An explicit set of fixers to run 64 fixer. The following example runs only the ``imports`` and ``has_key`` fixers: 76 Some fixers are *explicit*, meaning they aren't run by default and must be 77 listed on the command line to be run. Here, in addition to the default fixers, 84 Notice how passing ``all`` enables all default fixers. 104 :option:`!-p` to run fixers on code that already has had its print statements [all …]
|
/external/python/cpython2/ |
D | Makefile.pre.in | 1066 lib2to3/tests/data lib2to3/tests/data/fixers lib2to3/tests/data/fixers/myfixes \
|
/external/python/cpython3/ |
D | Makefile.pre.in | 1385 lib2to3/tests/data lib2to3/tests/data/fixers \ 1386 lib2to3/tests/data/fixers/myfixes \
|
/external/python/setuptools/ |
D | CHANGES.rst | 2790 * Distribute #249: Added options to exclude 2to3 fixers
|
/external/jline/src/src/test/resources/jline/example/ |
D | english.gz | 1Aarhus
2Aaron
3Ababa
4aback
5abaft
6abandon
7abandoned
8abandoning
9abandonment
10 ... |
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/ |
D | ospd.txt.gz |
|
/external/cldr/tools/java/org/unicode/cldr/util/data/transforms/ |
D | internal_raw_IPA-old.txt | 71502 fixers %11317
|