@ignore_exception
    def save_property_numeric(self, widget, key, index, instance, value):
        if index >= 0:
            getattr(widget, key)[index] = float(instance.text)
        else:
            setattr(widget, key, float(instance.text))
dataset/ETHPy150Open kivy/kivy/kivy/modules/console.py/ConsoleAddonWidgetPanel.save_property_numeric/original