Searched refs:mutating_cmp (Results 1 – 1 of 1) sorted by relevance
155 def mutating_cmp(x, y): function160 self.assertRaises(ValueError, L.sort, key=cmp_to_key(mutating_cmp))161 def mutating_cmp(x, y): function165 self.assertRaises(ValueError, L.sort, key=cmp_to_key(mutating_cmp))