openpyxl.utils.indexed列表模块

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

基类:list

根据Alex Martelli的配方按值优化访问列表

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

add(value)[源代码]
append(value)[源代码]

将对象追加到列表末尾。

index(value)[源代码]

返回值的第一个索引。

如果值不存在,则引发ValueError。