import Object import t, c digit: t.CTypedef = t.CUInt32T sdigit: t.CTypedef = t.CInt32T # signed variant of digit twodigits: t.CTypedef = t.CUInt64T stwodigits: t.CTypedef = t.CInt64T # signed variant of twodigits class _PyLongValue: lv_tag: t.CUIntPtrT # Number of digits, sign and flags ob_digit: list[digit, 1] class PyLongObject: ob_base: Object.PyObject long_value: _PyLongValue