cypy/collections.py
def clear(self):
        """ Remove all elements from the set.

        :triggers: `on_remove`
        """
        elements = set(self)
        set.clear(self)
        if callable(self._on_remove):
            self._on_remove(*elements)
 Remove all elements from the set.

        :triggers: `on_remove`
        
Remove all elements from the set.
Remove all elements from the set .
def clear(self):
        elements = set(self)
        set.clear(self)
        if callable(self._on_remove):
            self._on_remove(*elements)
def clear ( self ) : elements = set ( self ) set . clear ( self ) if callable ( self . _on_remove ) : self . _on_remove ( * elements )
Remove all elements from the set.
Remove all elements from the set .
""" Remove all elements from the set.

        :triggers: `on_remove`
        """
self
triggers
None