Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_descr.py2742 class madtuple(tuple): class
2751 a = madtuple((1,2,3,4,5,6,7,8,9,0))
2753 self.assertEqual(a.rev(), madtuple((0,9,8,7,6,5,4,3,2,1)))
2754 self.assertEqual(a.rev().rev(), madtuple((1,2,3,4,5,6,7,8,9,0)))
2756 t = madtuple(range(i))
2760 a = madtuple((1,2,3,4,5))
2768 a = madtuple(())
/external/python/cpython3/Lib/test/
Dtest_descr.py2727 class madtuple(tuple): class
2736 a = madtuple((1,2,3,4,5,6,7,8,9,0))
2738 self.assertEqual(a.rev(), madtuple((0,9,8,7,6,5,4,3,2,1)))
2739 self.assertEqual(a.rev().rev(), madtuple((1,2,3,4,5,6,7,8,9,0)))
2741 t = madtuple(range(i))
2745 a = madtuple((1,2,3,4,5))
2753 a = madtuple(())