index_of method

index_of

Returns an index of the specified section in the collection.

Returns

Index of a section or -1 if section not from this collection.

def index_of(self, section):
    ...
ParameterTypeDescription
sectionISectionSection to find.

See Also