Ejemplo n.º 1
0
 def __init__(self, space, intvalue):
     check_regular_int(intvalue)
     self.intvalue = intvalue
Ejemplo n.º 2
0
 def set_intvalue(self, intvalue):
     check_regular_int(intvalue)
     self.intvalue = intvalue
Ejemplo n.º 3
0
 def __init__(self, space, intvalue):
     check_regular_int(intvalue)
     self.intvalue = intvalue
Ejemplo n.º 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
Ejemplo n.º 5
0
 def set_intvalue(self, intvalue):
     check_regular_int(intvalue)
     self.intvalue = intvalue
Ejemplo n.º 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