def set(self, val):
        assert(type(val) is str)
        if val not in self:
            self.append(val)
            self.sort()
dataset/ETHPy150Open sassoftware/conary/conary/streams.py/StringsStream.set/original