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: s + s2 -> New Struct made from s.merge(s2).
  
  Examples
  --------
  
  >>> s1 = Struct(a=10,b=30)
  >>> s2 = Struct(a=20,c=40)
  >>> s = s1 + s2
  >>> sorted(s.keys())
  ['a', 'b', 'c']
docstr_tok: ["s","+","s2","-",">","New","Struct","made","from","s.merge","(","s2",")",".","Examples","--","--","--","--",">",">",">","s1","=","Struct","(","a=10",",","b=30",")",">",">",">","s2","=","Struct","(","a=20",",","c=40",")",">",">",">","s","=","s1","+","s2",">",">",">","sorted","(","s.keys","(",")",")","[","'","a","'",",","'","b","'",",","'","c","'","]"]
code: def __add__(self, other):
      """s + s2 -> New Struct made from s.merge(s2).
  
      Examples
      --------
  
      >>> s1 = Struct(a=10,b=30)
      >>> s2 = Struct(a=20,c=40)
      >>> s = s1 + s2
      >>> sorted(s.keys())
      ['a', 'b', 'c']
      """
      sout = self.copy()
      sout.merge(other)
      return sout
  
file_path: catboost/contrib/python/ipython/py2/IPython/utils/ipstruct.py
label_desc: Use image node_id 6 for calling the Struct obj's underlying member method code with example usage: obj.__add__(other) and returns: sout