Home
last modified time | relevance | path

Searched refs:hexint (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Tools/scripts/
H A Dgenerate_re_casefix.py33 class hexint(int): class
84 hexint(i),
85 tuple(map(hexint, t)),
/third_party/python/Lib/test/
H A Dtest_descr.py2706 class hexint(int): class
2710 return hexint(int.__add__(self, other))
2713 self.assertEqual(repr(hexint(7) + 9), "0x10")
2714 self.assertEqual(repr(hexint(1000) + 7), "0x3ef")
2715 a = hexint(12345)
2723 self.assertIs((hexint(0) << 12).__class__, int)
2724 self.assertIs((hexint(0) >> 12).__class__, int)

Completed in 9 milliseconds