openpyxl.utils.indexed_list module

class openpyxl.utils.indexed_list.IndexedList(iterable=None)[source]

Bases: list

List with optimised access by value Based on Alex Martelli’s recipe

http://code.activestate.com/recipes/52303-the-auxiliary-dictionary-idiom-for-sequences-with-/

add(value)[source]
append(value)[source]

Append object to the end of the list.

index(value)[source]

Return first index of value.

Raises ValueError if the value is not present.