jinja2.environment.Parser.fail_eof

Parser.fail_eof(end_tokens=None, lineno=None)[source]

Like fail_unknown_tag but for end of template situations.