MCPcopy Index your code
hub / github.com/python/cpython / myint

Class myint

Lib/test/test_long.py:1529–1530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1527 check(tests4, 'little', signed=False)
1528
1529 class myint(int):
1530 pass
1531
1532 self.assertIs(type(myint.from_bytes(b'\x00', 'big')), myint)
1533 self.assertEqual(myint.from_bytes(b'\x01', 'big'), 1)

Callers 1

test_as_integer_ratioMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_as_integer_ratioMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…