

def add(self, key):
    if (key not in self.map):
        end = self.end
        curr = end[1]
        curr[2] = end[1] = self.map[key] = [key, curr, end]

dataset/ETHPy150Open ooici/pyon/pyon/util/set.py OrderedSet.add/original