#NEWLINE# def __getattr__( self , key ) : #NEWLINE# #INDENT# if ( key == '_Fields' ) : #NEWLINE# #INDENT# return object . __getattribute__ ( self , key ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if hasattr ( self . _Fields , key ) : #NEWLINE# #INDENT# return getattr ( self . _Fields , key ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( errmsg == '__deepcopy__' ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( key in self . __dict__ ) : #NEWLINE# #INDENT# return self . __dict__ [ key ] #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# errmsg = ( "'SuffStatBag' object has no attribute '%s'" % key ) #NEWLINE# raise AttributeError ( errmsg )