def __init__(self, space, intvalue): check_regular_int(intvalue) self.intvalue = intvalue
def set_intvalue(self, intvalue): check_regular_int(intvalue) self.intvalue = intvalue
def __init__(self, val): if not we_are_translated(): # this is not safe during translation assert isinstance(val, int) check_regular_int(val) self.value = val