def delete_current_point(self):
        if self._selected_point is not None:
            self._curves[self._selected_point[0]].remove_cv(self._selected_point[1])
            self._selected_point = None
            self._drag_point = None
            self.update()
            self._change_handler()
Add a named goal to the list of valid goals for the 'goal' parameter.
dataset/ETHPy150Open tobspr/RenderPipeline/toolkit/day_time_editor/curve_widget.py/CurveWidget.delete_current_point--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/build_graph/prep_command.py/PrepCommand.add_goal