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 is a shorthand for s.merge(s2).
  
  Examples
  --------
  >>> s = Struct(a=10,b=30)
  >>> s2 = Struct(a=20,c=40)
  >>> s += s2
  >>> sorted(s.keys())
  ['a', 'b', 'c']
docstr_tok: ["s","+=","s2","is","a","shorthand","for","s.merge","(","s2",")",".","Examples","--","--","--","--",">",">",">","s","=","Struct","(","a=10",",","b=30",")",">",">",">","s2","=","Struct","(","a=20",",","c=40",")",">",">",">","s","+=","s2",">",">",">","sorted","(","s.keys","(",")",")","[","'","a","'",",","'","b","'",",","'","c","'","]"]
code: def __iadd__(self, other):
      """s += s2 is a shorthand for s.merge(s2).
  
      Examples
      --------
      >>> s = Struct(a=10,b=30)
      >>> s2 = Struct(a=20,c=40)
      >>> s += s2
      >>> sorted(s.keys())
      ['a', 'b', 'c']
      """
      self.merge(other)
      return self
  
file_path: nbformat/nbformat/_struct.py
imports: from __future__ import annotations
  from typing import Any, Dict
label_desc: Use image node_id 5 for calling the Struct obj's underlying member method code with example usage: obj.__iadd__(other) and returns: self