jinja2.environment.TemplateExpression

class jinja2.environment.TemplateExpression(template, undefined_to_none)[source]

The jinja2.Environment.compile_expression() method returns an instance of this object. It encapsulates the expression-like access to the template with an expression it wraps.

Methods

__init__(template, undefined_to_none)