or first element of var equals '_', raise an TemplateSyntaxError exception with an argument string "Variables and attributes may not begin with underscores: '%s'",
raise TemplateSyntaxError ( "Variables and attributes may " "not begin with underscores: '%s'" % var )