raise an TemplateSyntaxError exception with an argument string "'%s' received some positional argument(s) after some keyword argument(s)", where '%s' is replaced with name.
raise TemplateSyntaxError ( "'%s' received some positional argument(s) after some " "keyword argument(s)" % name )