#NEWLINE# def __setstate__( self , state ) : #NEWLINE# #INDENT# self . prev = weakref . ref ( state [ 0 ] ) #NEWLINE# self . next = weakref . ref ( state [ 1 ] ) #NEWLINE# if ( len ( state ) == 3 ) : #NEWLINE# #INDENT# self . key = state [ 2 ]