/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
fix_imports2.py | 6 MAPPING = {
16 mapping = MAPPING
variable in class:FixImports2
|
fix_imports.py | 8 MAPPING = {'StringIO': 'io',
65 def build_pattern(mapping=MAPPING):
66 mod_list = ' | '.join(["module_name='%s'" % key for key in mapping])
67 bare_names = alternates(mapping.keys())
90 mapping = MAPPING
variable in class:FixImports 97 return "|".join(build_pattern(self.mapping))
100 # We override this, so MAPPING can be pragmatically altered and the
126 new_name = unicode(self.mapping[mod_name]) [all...] |
fix_urllib.py | 13 MAPPING = {"urllib": [
46 MAPPING["urllib2"].append(MAPPING["urllib"][1])
51 for old_module, changes in MAPPING.items():
88 for name in MAPPING[import_mod.value][:-1]:
90 names.append(Name(MAPPING[import_mod.value][-1][0], prefix=pref))
108 for change in MAPPING[mod_member.value]:
132 for change in MAPPING[mod_member.value]:
176 for change in MAPPING[module_dot.value]:
|
fix_renames.py | 13 MAPPING = {"sys": {"maxint" : "maxsize"},
23 for module, replace in MAPPING.items():
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
fix_imports2.py | 6 MAPPING = { 16 mapping = MAPPING variable in class:FixImports2
|
fix_imports.py | 8 MAPPING = {'StringIO': 'io', 65 def build_pattern(mapping=MAPPING): 66 mod_list = ' | '.join(["module_name='%s'" % key for key in mapping]) 67 bare_names = alternates(mapping.keys()) 90 mapping = MAPPING variable in class:FixImports 97 return "|".join(build_pattern(self.mapping)) 100 # We override this, so MAPPING can be pragmatically altered and the 126 new_name = unicode(self.mapping[mod_name] [all...] |
fix_urllib.py | 13 MAPPING = {"urllib": [ 46 MAPPING["urllib2"].append(MAPPING["urllib"][1]) 51 for old_module, changes in MAPPING.items(): 88 for name in MAPPING[import_mod.value][:-1]: 90 names.append(Name(MAPPING[import_mod.value][-1][0], prefix=pref)) 108 for change in MAPPING[mod_member.value]: 132 for change in MAPPING[mod_member.value]: 176 for change in MAPPING[module_dot.value]:
|
fix_renames.py | 13 MAPPING = {"sys": {"maxint" : "maxsize"}, 23 for module, replace in MAPPING.items():
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
fix_imports2.py | 6 MAPPING = { 16 mapping = MAPPING variable in class:FixImports2
|
fix_imports.py | 8 MAPPING = {'StringIO': 'io', 65 def build_pattern(mapping=MAPPING): 66 mod_list = ' | '.join(["module_name='%s'" % key for key in mapping]) 67 bare_names = alternates(mapping.keys()) 90 mapping = MAPPING variable in class:FixImports 97 return "|".join(build_pattern(self.mapping)) 100 # We override this, so MAPPING can be pragmatically altered and the 126 new_name = self.mapping[mod_name [all...] |
fix_urllib.py | 12 MAPPING = {"urllib": [ 45 MAPPING["urllib2"].append(MAPPING["urllib"][1]) 50 for old_module, changes in MAPPING.items(): 87 for name in MAPPING[import_mod.value][:-1]: 89 names.append(Name(MAPPING[import_mod.value][-1][0], prefix=pref)) 107 for change in MAPPING[mod_member.value]: 131 for change in MAPPING[mod_member.value]: 175 for change in MAPPING[module_dot.value]:
|
fix_renames.py | 13 MAPPING = {"sys": {"maxint" : "maxsize"}, 23 for module, replace in list(MAPPING.items()):
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/tests/ |
test_fixers.py | [all...] |
/external/python/cpython2/Lib/lib2to3/tests/ |
test_fixers.py | [all...] |
/external/python/cpython3/Lib/lib2to3/tests/ |
test_fixers.py | [all...] |
/external/cldr/tools/java/org/unicode/cldr/icu/ |
LDMLConstants.java | 67 public static final String MAPPING = "mapping"; [all...] |