Searched refs:fromstr (Results 1 – 3 of 3) sorted by relevance
382 def maketrans(fromstr, tostr): argument390 if len(fromstr) != len(tostr):396 fromstr = map(ord, fromstr)397 for i in range(len(fromstr)):398 L[fromstr[i]] = tostr[i]
61 def maketrans(fromstr, tostr): argument69 if len(fromstr) != len(tostr):75 fromstr = map(ord, fromstr)76 for i in range(len(fromstr)):77 L[fromstr[i]] = tostr[i]