MCPcopy Index your code
hub / github.com/RustPython/RustPython / myint

Class myint

Lib/test/test_long.py:1532–1533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1530 check(tests4, 'little', signed=False)
1531
1532 class myint(int):
1533 pass
1534
1535 self.assertIs(type(myint.from_bytes(b'\x00', 'big')), myint)
1536 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