def add(self, element):
        """Add an element to a set.

        This has no effect if the element is already present.
        """
        try:
            self._data[element] = True
        except __HOLE__:
            transform = getattr(element, "__as_immutable__", None)
            if transform is None:
                raise # re-raise the TypeError exception we caught
            self._data[transform()] = True
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/sets.py/Set.add