#NEWLINE# def __setattr__( self , name , value ) : #NEWLINE# #INDENT# if ( not name . startswith ( '_' ) ) : #NEWLINE# #INDENT# raise AttributeError ( ( 'Use item[%r] = %r to set field value' % ( name , self ) ) ) #NEWLINE# #UNINDENT# super ( DictItem , self ) . __setattr__ ( name , value )