Searched refs:hexint (Results 1 – 1 of 1) sorted by relevance
2501 class hexint(int): class2505 return hexint(int.__add__(self, other))2508 self.assertEqual(repr(hexint(7) + 9), "0x10")2509 self.assertEqual(repr(hexint(1000) + 7), "0x3ef")2510 a = hexint(12345)2518 self.assertIs((hexint(0) << 12).__class__, int)2519 self.assertIs((hexint(0) >> 12).__class__, int)