def find(self, k):
        'Return first item with a key == k.  Raise ValueError if not found.'
        i = bisect_left(self._keys, k)
        if i != len(self) and self._keys[i] == k:
            return self._items[i]
        raise ValueError('No item found with key equal to: %r' % (k,))
dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/sortedcollection.py/SortedCollection.find/original