def _sort_common ( self, removed ):
        if (getattr(self, 'name_items', None) is not None and
            getattr(self, 'trait', None) is not None):
            self._send_trait_items_event( self.name_items,
                TraitListEvent( 0, removed, self[:] ) )
dataset/ETHPy150Open enthought/traits/traits/trait_handlers.py/TraitListObject._sort_common/original