jinja2.nodes.Pair.set_lineno

Pair.set_lineno(lineno, override=False)

Set the line numbers of the node and children.