#NEWLINE# def __init__( self , val , tup , query , found = True , dirty = False ) : #NEWLINE# #INDENT# self . val = val #NEWLINE# self . tup = tup #NEWLINE# self . dbname = tup [ 0 ] #NEWLINE# self . key = tup [ ( - 1 ) ] #NEWLINE# self . query = query #NEWLINE# self . found = tup #NEWLINE# self . dirty = dirty #NEWLINE# if ( not found ) : #NEWLINE# #INDENT# self . mutable = False #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . id = id ( val ) #NEWLINE# self . mutable = isinstance ( val , ( list , dict ) ) #NEWLINE# if self . mutable : #NEWLINE# #INDENT# self . origval = deepcopy ( val )