示例#1
0
    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)
示例#2
0
 def call_method(self, w_obj, methname, *arg_w):
     return callmethod.call_method_opt(self, w_obj, methname, *arg_w)
示例#3
0
 def call_method(self, w_obj, methname, *arg_w):
     return callmethod.call_method_opt(self, w_obj, methname, *arg_w)
示例#4
0
 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)