OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fixer_pkg
(Results
1 - 8
of
8
) sorted by null
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/
support.py
33
def get_refactorer(
fixer_pkg
="lib2to3", fixers=None, options=None):
42
fixers = [
fixer_pkg
+ ".fixes.fix_" + fix for fix in fixers]
44
fixers = refactor.get_fixers_from_package(
fixer_pkg
+ ".fixes")
test_fixers.py
16
# Other test cases can subclass this class and replace "
fixer_pkg
" with
18
def setUp(self, fix_list=None,
fixer_pkg
="lib2to3", options=None):
21
self.refactor = support.get_refactorer(
fixer_pkg
, fix_list, options)
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/
support.py
33
def get_refactorer(
fixer_pkg
="lib2to3", fixers=None, options=None):
42
fixers = [
fixer_pkg
+ ".fixes.fix_" + fix for fix in fixers]
44
fixers = refactor.get_fixers_from_package(
fixer_pkg
+ ".fixes")
test_fixers.py
16
# Other test cases can subclass this class and replace "
fixer_pkg
" with
18
def setUp(self, fix_list=None,
fixer_pkg
="lib2to3", options=None):
21
self.refactor = support.get_refactorer(
fixer_pkg
, fix_list, options)
[
all
...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/
main.py
134
def main(
fixer_pkg
, args=None):
138
fixer_pkg
: the name of a package where the fixers are located.
199
for fixname in refactor.get_all_fix_names(
fixer_pkg
):
221
avail_fixes = set(refactor.get_fixers_from_package(
fixer_pkg
))
222
unwanted_fixes = set(
fixer_pkg
+ ".fix_" + fix for fix in options.nofix)
230
explicit.add(
fixer_pkg
+ ".fix_" + fix)
refactor.py
33
def get_all_fix_names(
fixer_pkg
, remove_prefix=True):
35
pkg = __import__(
fixer_pkg
, [], [], ["*"])
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/
main.py
134
def main(
fixer_pkg
, args=None):
138
fixer_pkg
: the name of a package where the fixers are located.
199
for fixname in refactor.get_all_fix_names(
fixer_pkg
):
221
avail_fixes = set(refactor.get_fixers_from_package(
fixer_pkg
))
222
unwanted_fixes = set(
fixer_pkg
+ ".fix_" + fix for fix in options.nofix)
230
explicit.add(
fixer_pkg
+ ".fix_" + fix)
refactor.py
33
def get_all_fix_names(
fixer_pkg
, remove_prefix=True):
35
pkg = __import__(
fixer_pkg
, [], [], ["*"])
Completed in 678 milliseconds