def __init__(self, choices=[], labels=None, **kwargs): _form_base.__init__(self, converter=converters.chooser_converter(choices), **kwargs) self._choices = choices self._labels = map(str, labels or choices)