Lines Matching refs:start
42 # Find lower and upper bounds for start and stop.
46 # Compute start.
47 if slice.start is None:
48 start = upper if step < 0 else lower
50 start = evaluate_slice_index(slice.start)
51 start = max(start + length, lower) if start < 0 else min(start, upper)
60 return start, stop, step
122 self.assertEqual(s.start, None)
127 self.assertEqual(s.start, 1)
132 self.assertEqual(s.start, 1)
192 # Check a variety of start, stop, step and length values, including
210 # Using a start, stop or step or length that can't be interpreted as an
261 self.assertIs(s.start, c.start)
279 self.assertIsNot(s.start, c.start)