parameters: (self)
return_statement: return self.__class__, (items,)
docstring: Return state information for pickling
docstring_summary: Return state information for pickling
docstring_tokens: Return state information for pickling
function: def __reduce__(self):
          'Return state information for pickling'
          items = [[k, self[k]] for k in self]
          inst_dict = vars(self).copy()
          for k in vars(OrderedDict()):
              inst_dict.pop(k, None)
          if inst_dict:
              return (self.__class__, (items,), inst_dict)
          return self.__class__, (items,)
function_tokens: def __reduce__ ( self ) : items = [ [ k , self [ k ] ] for k in self ] inst_dict = vars ( self ) . copy ( ) for k in vars ( OrderedDict ( ) ) : inst_dict . pop ( k , None ) if inst_dict : return ( self . __class__ , ( items , ) , inst_dict ) return self . __class__ , ( items , )