#NEWLINE# def __getattr__( self , name ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return self [ name . replace ( '_' , '-' ) ] #NEWLINE# #UNINDENT# except KeyError as error : #NEWLINE# #INDENT# raise AttributeError ( str ( error ) )