Searched refs:transtable (Results 1 – 3 of 3) sorted by relevance
108 self.assertTrue(strop.maketrans("abc", "xyz") == transtable)112 self.assertTrue(strop.translate("xyzabcdef", transtable, "def")150 transtable = '\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\… variable
93 …transtable = '\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024…95 self.assertEqual(string.maketrans('abc', 'xyz'), transtable)
857 …transtable = b'\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\02…858 self.assertEqual(self.type2test.maketrans(b'abc', b'xyz'), transtable)859 …transtable = b'\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\02…860 self.assertEqual(self.type2test.maketrans(b'\375\376\377', b'xyz'), transtable)