/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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_renames.py | 13 MAPPING = {"sys": {"maxint" : "maxsize"}, 23 for module, replace in MAPPING.items():
|
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]:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/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_renames.py | 13 MAPPING = {"sys": {"maxint" : "maxsize"}, 23 for module, replace in MAPPING.items():
|
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]:
|