def call_method(self, w_obj, methname, *arg_w): if self.config.objspace.opcodes.CALL_METHOD: from pypy.objspace.std.callmethod import call_method_opt return call_method_opt(self, w_obj, methname, *arg_w) else: return ObjSpace.call_method(self, w_obj, methname, *arg_w)
def call_method(self, w_obj, methname, *arg_w): return callmethod.call_method_opt(self, w_obj, methname, *arg_w)