mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 13:10:21 +01:00
mp_obj_int_get() can be used when just full resolution of C machine_int_t is required (returns truncated value of long int). mp_obj_int_get_checked() will throw exception if Python int value not representable in machine_int_t.
8.7 KiB
8.7 KiB