Esempio n. 1
0
 def __init__(self, func, klass, storage_w, w_this=None, static=False):
     assert isinstance(func, Function)
     self._func = func
     self.closure_args = [None] * len(func.closuredecls)
     W_InstanceObject.__init__(self, klass, storage_w)
     self.w_this = w_this
     self.static = static
Esempio n. 2
0
 def __init__(self, func, klass, storage_w, w_this=None, static=False):
     assert isinstance(func, Function)
     self._func = func
     self.closure_args = [None] * len(func.closuredecls)
     W_InstanceObject.__init__(self, klass, storage_w)
     self.w_this = w_this
     self.static = static
Esempio n. 3
0
 def __init__(self, klass, dct_w):
     W_InstanceObject.__init__(self, klass, dct_w)
Esempio n. 4
0
 def __init__(self, klass, dct_w):
     W_InstanceObject.__init__(self, klass, dct_w)
Esempio n. 5
0
 def __init__(self, func, klass, dct_w):
     assert isinstance(func, Function)
     self._func = func
     self.closure_args = [None] * (len(func.names) - len(func.types))
     W_InstanceObject.__init__(self, klass, dct_w)
Esempio n. 6
0
 def __init__(self, func, klass, dct_w):
     assert isinstance(func, Function)
     self._func = func
     self.closure_args = [None] * (len(func.names) - len(func.types))
     W_InstanceObject.__init__(self, klass, dct_w)