

def index(self, key):
    '\n        Return the position of the specified key in the OrderedDict.\n\n        >>> d = OrderedDict(((1, 3), (3, 2), (2, 1)))\n        >>> d.index(3)\n        1\n        >>> d.index(4)\n        Traceback (most recent call last):\n        ValueError: 4 is not in list\n        '
    return key._sequence.index(key)

dataset/ETHPy150Open editorconfig/editorconfig-vim/plugin/editorconfig-core-py/editorconfig/odict.py OrderedDict.index/VarMisuse@15/129 `self`->`key`