Lines Matching refs:args
55 """Simple args to unicode conversion and concatenation."""
235 def call(__self, __obj, *args, **kwargs):
256 args = (__self,) + args
258 args = (__self.eval_ctx,) + args
260 args = (__self.environment,) + args
262 return __obj(*args, **kwargs)
366 def cycle(self, *args):
368 if not args:
370 return args[self.index0 % len(args)]
503 def __call__(self, *args, **kwargs):
521 if args and isinstance(args[0], EvalContext):
522 autoescape = args[0].autoescape
523 args = args[1:]
528 arguments = list(args[:self._argument_count])
570 arguments.append(args[self._argument_count:])
571 elif len(args) > self._argument_count:
616 def _fail_with_undefined_error(self, *args, **kwargs):
722 def _fail_with_undefined_error(self, *args, **kwargs):
724 return base._fail_with_undefined_error(self, *args, **kwargs)