openpyxl.utils.indexed_list module

class openpyxl.utils.indexed_list.IndexedList(iterable=None)[源代码]

基类: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)[源代码]
append(value)[源代码]

Append object to the end of the list.

index(value)[源代码]

Return first index of value.

Raises ValueError if the value is not present.