cf.FieldList.index

FieldList.index(value, start=0, stop=None)[source]

Return first index of value.

Each construct in the list is compared with its equals method, rather than the == operator.

An exception is raised if there is no such construct.

See also

list.index