def clear ( self ):
        removed = set( self )
        set.clear( self )

        if self.name_items is None:
            self._send_trait_items_event( self.name_items,
                TraitSetEvent( removed ) )
dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitSetObject.clear/operator `is not` -> `is`