def index(self, item):
        k = self._key(item)
        i = bisect_left(self._keys, k)
        j = bisect_right(self._keys, k)
        return self._items[i:j].index(item) + i
Represents the widget as HTML format, packs all the attributes, children and so on.
dataset/ETHPy150Open tanghaibao/jcvi/utils/orderedcollections.py/SortedCollection.index--crossover with--dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/Widget.repr