Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_descr.py2521 class octlong(long): class
2529 return self.__class__(super(octlong, self).__add__(other))
2531 self.assertEqual(str(octlong(3) + 5), "010")
2534 self.assertEqual(str(5 + octlong(3000)), "05675")
2535 a = octlong(12345)
2542 self.assertIs((-octlong(0)).__class__, long)
2553 self.assertIs((octlong(0) << 12).__class__, long)
2554 self.assertIs((octlong(0) >> 12).__class__, long)
2555 self.assertIs(abs(octlong(0)).__class__, long)