コード例 #1
0
ファイル: intobject.py プロジェクト: Alexis-D/topaz
 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
ファイル: values.py プロジェクト: rjnw/pycket
 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
ファイル: intobject.py プロジェクト: topazproject/topaz
 def set_intvalue(self, intvalue):
     check_regular_int(intvalue)
     self.intvalue = intvalue
コード例 #6
0
ファイル: values.py プロジェクト: vishesh/pycket
 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