code: def __reduce__(self):
      items = [[k, self[k]] for k in self]
      tmp = self.__map, self.__end
      del self.__map, self.__end
      inst_dict = vars(self).copy()
      self.__map, self.__end = tmp
      if inst_dict:
          return (self.__class__, (items,), inst_dict)
      return self.__class__, (items,)
  
file_path: catboost/contrib/python/simplejson/py3/simplejson/ordered_dict.py
imports: from UserDict import DictMixin
label_desc: Use image node_id 8 for calling the OrderedDict obj's underlying member method code with example usage: obj.__reduce__() and returns: self,  items, self,  items,  inst_dict