

def create_radio_field(self, field, options):
    options['choices'] = map((lambda x: (x.strip(), field.strip())), field.choices.split(','))
    return django.forms.ChoiceField(widget=django.forms.RadioSelect, **options)

dataset/ETHPy150Open torchbox/wagtail/wagtail/wagtailforms/forms.py FormBuilder.create_radio_field/VarMisuse@32/37 `x`->`field`