jinja2.nodes.Node.set_lineno

Node.set_lineno(lineno, override=False)[source]

Set the line numbers of the node and children.