#NEWLINE# def __setattr__( self , attr , * args ) : #NEWLINE# #INDENT# if ( self . _read_only and ( attr in self ) ) : #NEWLINE# #INDENT# raise TypeError ( "Choices are constants and can't be modified" ) #NEWLINE# #UNINDENT# super ( Choices , self ) . __setattr__ ( attr , * args )