parameters: (election, question)
return_statement: return WrightSTVField(label=question['question'],
              choices=answers, required=True, election=election)
docstring: Creates a voting field that can be used to answer a question in a ballot
docstring_summary: Creates a voting field that can be used to answer a question in a ballot
docstring_tokens: Creates a voting field that can be used to answer a question in a ballot
function: def get_question_field(election, question):
          '''
          Creates a voting field that can be used to answer a question in a ballot
          '''
          answers = [(answer['value'], answer['value'])
              for answer in question['answers']]
          random.shuffle(answers)
  
          return WrightSTVField(label=question['question'],
              choices=answers, required=True, election=election)
function_tokens: def get_question_field ( election , question ) : answers = [ ( answer [ 'value' ] , answer [ 'value' ] ) for answer in question [ 'answers' ] ] random . shuffle ( answers ) return WrightSTVField ( label = question [ 'question' ] , choices = answers , required = True , election = election )