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)
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)
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)