class_docstr: Container object exposing keys as attributes.
  
  Bunch objects are sometimes used as an output for functions and methods.
  They extend dictionaries by enabling values to be accessed by key,
  `bunch["value_key"]`, or by an attribute, `bunch.value_key`.
  
  Examples
  --------
  >>> from sklearn.utils import Bunch
  >>> b = Bunch(a=1, b=2)
  >>> b['b']
  2
  >>> b.b
  2
  >>> b.a = 3
  >>> b['a']
  3
  >>> b.c = 6
  >>> b['c']
  6
code: def __setstate__(self, state):
      # Bunch pickles generated with scikit-learn 0.16.* have an non
      # empty __dict__. This causes a surprising behaviour when
      # loading these pickles scikit-learn 0.17: reading bunch.key
      # uses __dict__ but assigning to bunch.key use __setattr__ and
      # only changes bunch['key']. More details can be found at:
      # https://github.com/scikit-learn/scikit-learn/issues/6196.
      # Overriding __setstate__ to be a noop has the effect of
      # ignoring the pickled __dict__
      pass
  
file_path: catboost/contrib/python/scikit-learn/py3/sklearn/utils/_bunch.py
imports: import warnings
label_desc: Use image node_id 7 for calling the Bunch obj's underlying member method code with example usage: obj.__setstate__(state) without return types