def __setitem__(self, key, value):
        if key in self:
            del self[key]
        if value in self:
            del self[value]
        dict.__setitem__(self, key, value)
        dict.__setitem__(self, value, key)
dataset/ETHPy150Open yinhm/datafeed/datafeed/bidict.py/Bidict.__setitem__/original