#NEWLINE# def __init__( self , name , description , choices , value ) : #NEWLINE# #INDENT# super ( ) . __init__ ( name , description , choices ) #NEWLINE# if ( not isinstance ( self . choices , list ) ) : #NEWLINE# #INDENT# raise MesonException ( 'Combo choices must be an array.' ) #NEWLINE# #UNINDENT# for i in description . choices : #NEWLINE# #INDENT# if ( not isinstance ( i , str ) ) : #NEWLINE# #INDENT# raise MesonException ( 'Combo choice elements must be strings.' ) #NEWLINE# #UNINDENT# #UNINDENT# self . set_value ( value )