Lines Matching refs:args
171 def __call__(cls, *args, **kwds):
172 obj = type.__call__(cls, *args, **kwds)
193 return lambda self, *args : self._call(method, *args)
673 def call(self, instance, *args):
675 args. """
676 if len(self._args) != len(args):
678 "%s called with invalid # of args (received %d, expected %d)" %
679 (self._name, len(args), len(self._args)))
684 p.pack_uint(len(args))
685 for i in range(len(args)):
687 self._args[i]._type.write(pp, args[i], True)
780 def call(self, instance, meth, *args):
781 """ Call the method, meth, on instance, instance, with args. """
782 return self._methods[meth].call(instance, *args)
819 def _call(self, meth, *args):
820 """ Call the method, meth, with args. """
821 return self._methods[meth].call(self, *args)