#NEWLINE# def get( self , key ) : #NEWLINE# #INDENT# if self . config . get ( 'max_age' ) : #NEWLINE# #INDENT# ( value , expiry_time ) = self . data [ key ] #NEWLINE# if ( time . time ( ) > expiry_time ) : #NEWLINE# #INDENT# self . delete ( key ) #NEWLINE# raise KeyError ( expiry_time ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# value = self . data [ key ] #NEWLINE# #UNINDENT# return value