#NEWLINE# def __getitem__( self , key ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return self . data [ key ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# return key . data [ key . lower ( ) ]