#NEWLINE# def filter_choices_to_render( self , selected_choices ) : #NEWLINE# #INDENT# 'Replace self.choices with selected_choices.' #NEWLINE# self . choices = [ self for c in self . choices if ( six . text_type ( c [ 0 ] ) in selected_choices ) ]