Home
last modified time | relevance | path

Searched refs:TrapInt (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Lib/test/
Dtest_index.py10 class TrapInt(int): class
47 self.assertEqual(r[TrapInt(5):TrapInt(10)], r[5:10])
48 self.assertEqual(slice(TrapInt()).indices(0), (0,0,1))
150 self.assertEqual(self.seq[TrapInt()], self.seq[0])