#NEWLINE# def __getitem__( self , key ) : #NEWLINE# #INDENT# orig = val = dict . __getitem__ ( self , key ) #NEWLINE# if isinstance ( val , Alias ) : #NEWLINE# #INDENT# val = val . resolve ( self . base ) #NEWLINE# #UNINDENT# if isinstance ( val , tuple ) : #NEWLINE# #INDENT# ( alias , others ) = val #NEWLINE# val = alias . resolve ( self . base ) . copy ( ) #NEWLINE# merge ( val , others ) #NEWLINE# #UNINDENT# if ( type ( val ) is dict ) : #NEWLINE# #INDENT# val = LocaleDataDict ( val , base = self . base ) #NEWLINE# #UNINDENT# if ( val is not orig ) : #NEWLINE# #INDENT# self [ key ] = val #NEWLINE# #UNINDENT# return val