class_docstr: A dict subclass with attribute style access.
  
  This dict subclass has a a few extra features:
  
  * Attribute style access.
  * Protection of class members (like keys, items) when using attribute
    style access.
  * The ability to restrict assignment to only existing keys.
  * Intelligent merging.
  * Overloaded operators.
class_docstr_tok: ["A","dict","subclass","with","attribute","style","access",".","This","dict","subclass","has","a","a","few","extra","features",":","*","Attribute","style","access",".","*","Protection","of","class","members","(","like","keys",",","items",")","when","using","attribute","style","access",".","*","The","ability","to","restrict","assignment","to","only","existing","keys",".","*","Intelligent","merging",".","*","Overloaded","operators","."]
docstr: Inplace remove keys from self that are in other.
  
  Examples
  --------
  
  >>> s1 = Struct(a=10,b=30)
  >>> s2 = Struct(a=40)
  >>> s1 -= s2
  >>> s1
  {'b': 30}
docstr_tok: ["Inplace","remove","keys","from","self","that","are","in","other",".","Examples","--","--","--","--",">",">",">","s1","=","Struct","(","a=10",",","b=30",")",">",">",">","s2","=","Struct","(","a=40",")",">",">",">","s1","-=","s2",">",">",">","s1","{","'","b","'",":","30","}"]
code: def __isub__(self, other):
      """Inplace remove keys from self that are in other.
  
      Examples
      --------
  
      >>> s1 = Struct(a=10,b=30)
      >>> s2 = Struct(a=40)
      >>> s1 -= s2
      >>> s1
      {'b': 30}
      """
      for k in other.keys():
          if k in self:
              del self[k]
      return self
  
file_path: catboost/contrib/python/ipython-genutils/py3/ipython_genutils/ipstruct.py
label_desc: Use image node_id 8 for calling the Struct obj's underlying member method code with example usage: obj.__isub__(other) and returns: self