def discard(self, value):
        """Remove an element.  Do not raise an exception if absent."""
        key = self._key(value)
        try: del self._items[key]
        except KeyError: pass
Remove an element.  Do not raise an exception if absent.
recipes/Python/576932_Sets_custom_equalityuniqueness/recipe-576932.py