#NEWLINE# def __setstate__( self , state ) : #NEWLINE# #INDENT# ret = [ ] #NEWLINE# for key in state [ 'path' ] : #NEWLINE# #INDENT# if isinstance ( key , tuple ) : #NEWLINE# #INDENT# ( cls , propkey ) = key #NEWLINE# ret . append ( getattr ( cls , propkey ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# ret . append ( key ) #NEWLINE# #UNINDENT# #UNINDENT# state [ 'path' ] = tuple ( ret ) #NEWLINE# self . __dict__ = state