def __setitem__(self, key, item):
        if key in self:
            del self[key]
        self.data[key] = item
        self.canon_keys[irc_lower(key)] = key
dataset/ETHPy150Open Pathoschild/stewbot/stewbot/components/modules/irclib/ircbot.py/IRCDict.__setitem__/original