#NEWLINE# def __getattr__( self , name ) : #NEWLINE# #INDENT# if ( self in self . fields ) : #NEWLINE# #INDENT# raise AttributeError ( ( 'Use item[%r] to get field value' % name ) ) #NEWLINE# #UNINDENT# raise AttributeError ( name )