jinja2.nodes.Slice.set_lineno

Slice.set_lineno(lineno, override=False)

Set the line numbers of the node and children.