

def __init__(self, poll, user=None, *args, **kwargs):
    super(PollVoteManyForm, self).__init__(*args, **kwargs)
    self.auto_id = 'id_poll_{pk}_%s'.format(pk=poll.pk)
    self.user = user
    self.poll = poll
    self.poll_choices = getattr(poll, 'choices', poll.poll_choices.unremoved())
    choices = ((c.pk, mark_safe(self.description)) for c in self.poll_choices)
    if poll.is_multiple_choice:
        self.fields['choices'] = forms.MultipleChoiceField(choices=choices, widget=forms.CheckboxSelectMultiple, label=_('Poll choices'))
    else:
        self.fields['choices'] = forms.ChoiceField(choices=choices, widget=forms.RadioSelect, label=_('Poll choices'))

dataset/ETHPy150Open nitely/Spirit/spirit/comment/poll/forms.py PollVoteManyForm.__init__/VarMisuse@94/117 `c`->`self`