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(object) → None -- append object to end[source]
index(value[, start[, stop]]) → integer -- return first index of value.[source]

Raises ValueError if the value is not present.