/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
H A D | fix_xreadlines.py | 23 no_call.replace(Name(u"__iter__", prefix=no_call.prefix)) 25 node.replace([x.clone() for x in results["call"]])
|
H A D | fix_itertools.py | 40 func.parent.replace(func) 43 func.replace(Name(func.value[1:], prefix=prefix))
|
H A D | fix_buffer.py | 22 name.replace(Name(u"memoryview", prefix=name.prefix))
|
H A D | fix_funcattrs.py | 20 attr.replace(Name((u"__%s__" % attr.value[5:]),
|
H A D | fix_getcwdu.py | 19 name.replace(Name(u"getcwd", prefix=name.prefix))
|
H A D | fix_methodattrs.py | 24 attr.replace(Name(new, prefix=attr.prefix))
|
H A D | fix_nonzero.py | 21 name.replace(new)
|
H A D | fix_raw_input.py | 17 name.replace(Name(u"input", prefix=name.prefix))
|
H A D | fix_imports.py | 120 self.replace = {} 127 import_mod.replace(Name(new_name, prefix=import_mod.prefix)) 131 self.replace[mod_name] = new_name 143 new_name = self.replace.get(bare_name.value) 145 bare_name.replace(Name(new_name, prefix=bare_name.prefix))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
H A D | fix_xreadlines.py | 23 no_call.replace(Name(u"__iter__", prefix=no_call.prefix)) 25 node.replace([x.clone() for x in results["call"]])
|
H A D | fix_itertools.py | 40 func.parent.replace(func) 43 func.replace(Name(func.value[1:], prefix=prefix))
|
H A D | fix_buffer.py | 22 name.replace(Name(u"memoryview", prefix=name.prefix))
|
H A D | fix_funcattrs.py | 20 attr.replace(Name((u"__%s__" % attr.value[5:]),
|
H A D | fix_getcwdu.py | 19 name.replace(Name(u"getcwd", prefix=name.prefix))
|
H A D | fix_methodattrs.py | 24 attr.replace(Name(new, prefix=attr.prefix))
|
H A D | fix_nonzero.py | 21 name.replace(new)
|
H A D | fix_raw_input.py | 17 name.replace(Name(u"input", prefix=name.prefix))
|
H A D | fix_imports.py | 120 self.replace = {} 127 import_mod.replace(Name(new_name, prefix=import_mod.prefix)) 131 self.replace[mod_name] = new_name 143 new_name = self.replace.get(bare_name.value) 145 bare_name.replace(Name(new_name, prefix=bare_name.prefix))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/fixers/myfixes/ |
H A D | fix_parrot.py | 13 name.replace(Name("cheese", name.prefix))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/fixers/myfixes/ |
H A D | fix_parrot.py | 13 name.replace(Name("cheese", name.prefix))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
H A D | test_strop.py | 58 replace = strop.replace 59 self.assertTrue(replace("one!two!three!", '!', '@', 1) 61 self.assertTrue(replace("one!two!three!", '!', '@', 2) 63 self.assertTrue(replace("one!two!three!", '!', '@', 3) 65 self.assertTrue(replace("one!two!three!", '!', '@', 4) 68 # CAUTION: a replace count of 0 means infinity only to strop, 69 # not to the string .replace() method or to the 70 # string.replace() function. 72 self.assertTrue(replace("on [all...] |
H A D | inspect_fodder2.py | 8 def replace(func): function 20 @replace
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
H A D | test_strop.py | 58 replace = strop.replace 59 self.assertTrue(replace("one!two!three!", '!', '@', 1) 61 self.assertTrue(replace("one!two!three!", '!', '@', 2) 63 self.assertTrue(replace("one!two!three!", '!', '@', 3) 65 self.assertTrue(replace("one!two!three!", '!', '@', 4) 68 # CAUTION: a replace count of 0 means infinity only to strop, 69 # not to the string .replace() method or to the 70 # string.replace() function. 72 self.assertTrue(replace("on [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/ |
H A D | dump.py | 40 # qtable = table_name.replace("'", "''") 44 # sql.replace("''"))) 49 table_name_ident = table_name.replace('"', '""') 54 ",".join("""'||quote("{0}")||'""".format(col.replace('"', '""')) for col in column_names))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/ |
H A D | dump.py | 40 # qtable = table_name.replace("'", "''") 44 # sql.replace("''"))) 49 table_name_ident = table_name.replace('"', '""') 54 ",".join("""'||quote("{0}")||'""".format(col.replace('"', '""')) for col in column_names))
|