def remove_not_valid_selections(self):
        """
        update the value to remove any that are (no longer) valid
        """
        value = [v for v in self.get_value() if self.valid_selection(v)]
        self.set_value(value)
def remove_not_valid_selections ( self ) : value = [ v for v in self . get_value ( ) if self . valid_selection ( v ) ] self . set_value ( value )
update the value to remove any that are (no longer) valid