Пример #1
0
 def __init__(self, space, intvalue):
     check_regular_int(intvalue)
     self.intvalue = intvalue
Пример #2
0
 def set_intvalue(self, intvalue):
     check_regular_int(intvalue)
     self.intvalue = intvalue
Пример #3
0
 def __init__(self, space, intvalue):
     check_regular_int(intvalue)
     self.intvalue = intvalue
Пример #4
0
 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
Пример #5
0
 def set_intvalue(self, intvalue):
     check_regular_int(intvalue)
     self.intvalue = intvalue
Пример #6
0
 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