def add()

in assets/OfficialDemos/Others/Python/GitHubFunction.py [0:0]


    def add(self, item):
        if item not in self:
            if len(self.current) > self.max_size:
                self.prev = self.current
                self.current = set()

            self.current.add(item)