Example #1
0
 def __init__(self, *args, **kwargs):
     self.__splpy_instance = wrapped(*args, **kwargs)
     if ec._is_supported():
         ec._save_opc(self.__splpy_instance)
     ec._callable_enter(self.__splpy_instance)
Example #2
0
 def __init__(self,*args,**kwargs):
     super(_op_class, self).__init__(*args,**kwargs)
     if ec._is_supported():
         ec._save_opc(self)
     ec._callable_enter(self)
Example #3
0
 def __init__(self,*args,**kwargs):
     self.__splpy_instance = wrapped(*args,**kwargs)
     if ec._is_supported():
         ec._save_opc(self.__splpy_instance)
     ec._callable_enter(self.__splpy_instance)