def widget_attrs(self, widget):
        attrs = super(FloatField, self).widget_attrs(widget)
        if isinstance(widget, NumberInput) and widget.attrs not in 'step':
            attrs.setdefault('step', 'any')
        return attrs
dataset/ETHPy150Open django/django/django/forms/fields.py/FloatField.widget_attrs/swapped operands of `not in`