#NEWLINE# def __setattr__( self , key , value ) : #NEWLINE# #INDENT# if ( key == 'fmtin' ) : #NEWLINE# #INDENT# self . _format = ArrayFormat ( self , fortran = value ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( key == 'format' ) : #NEWLINE# #INDENT# assert isinstance ( value , ArrayFormat ) #NEWLINE# self . _format = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( key == 'how' ) : #NEWLINE# #INDENT# value = value . lower ( ) #NEWLINE# assert ( value in self . _acceptable_hows ) #NEWLINE# self . _how = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# super ( Util2d , self ) . __setattr__ ( key , value )