#NEWLINE# def __reduce__( self ) : #NEWLINE# #INDENT# 'Return state information for pickling' #NEWLINE# items = [ [ k , k [ k ] ] for k in self ] #NEWLINE# inst_dict = vars ( self ) . copy ( ) #NEWLINE# for k in vars ( OrderedDict ( ) ) : #NEWLINE# #INDENT# inst_dict . pop ( k , None ) #NEWLINE# #UNINDENT# if inst_dict : #NEWLINE# #INDENT# return ( self . __class__ , ( items , ) , inst_dict ) #NEWLINE# #UNINDENT# return ( self . __class__ , ( items , ) )