#NEWLINE# def __getitem__( self , key ) : #NEWLINE# #INDENT# if ( key not in self . cache ) : #NEWLINE# #INDENT# raise IndexError #NEWLINE# #UNINDENT# ( _ , value ) = self . cache [ key ] #NEWLINE# self [ key ] = value #NEWLINE# return value