Example #1
0
 def call(self, argv):
     try:
         method = self.custom_interface.methods[u"+call"]
     except KeyError as error:
         return Object.call(self, argv)
     else:
         return method.call([self] + argv)
Example #2
0
 def call(self, argv):
     custom_interface = jit.promote(self.custom_interface)
     method = custom_interface.lookup_method(u"+call")
     if method is None:
         return Object.call(self, argv)
     else:
         return method.call([self] + argv)
Example #3
0
 def call(self, argv):
     try:
         method = self.custom_interface.methods[u"+call"]
     except KeyError as error:
         return Object.call(self, argv)
     else:
         return method.call([self] + argv)
Example #4
0
 def call(self, argv):
     method = self.custom_interface.lookup_method(u"+call")
     if method is None:
         return Object.call(self, argv)
     else:
         return method.call([self] + argv)