jinja2.sandbox.MutableSequence.index

MutableSequence.index(value) → integer -- return first index of value.

Raises ValueError if the value is not present.