Lines Matching defs:first
283 self.assertEqual(result, list(combinations1(values, r))) # matches first pure python version
371 self.assertEqual(result, list(cwr1(values, r))) # matches first pure python version
443 self.assertEqual(result, list(permutations1(values, r))) # matches first pure python version
725 # The first argument to setstate needs to be a tuple
729 # The first argument in the setstate tuple must be a list
1087 ([range(0), range(2), range(3)], []), # first iterable with zero length
1156 ([range(0), range(2), range(3)], []), # first iterable with zero length
1556 first = True
1560 first = self.first
1561 self.first = False
1562 if first:
2181 def g(value, first=[1]):
2182 if first:
2183 del first[:]
2195 first[:] = list(T)
2197 first = []
2200 self.assertEqual(first, second)