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: s1 - s2 -> remove keys in s2 from s1.
  
  Examples
  --------
  >>> s1 = Struct(a=10,b=30)
  >>> s2 = Struct(a=40)
  >>> s = s1 - s2
  >>> s
  {'b': 30}
docstr_tok: ["s1","-","s2","-",">","remove","keys","in","s2","from","s1",".","Examples","--","--","--","--",">",">",">","s1","=","Struct","(","a=10",",","b=30",")",">",">",">","s2","=","Struct","(","a=40",")",">",">",">","s","=","s1","-","s2",">",">",">","s","{","'","b","'",":","30","}"]
code: def __sub__(self, other):
      """s1 - s2 -> remove keys in s2 from s1.
  
      Examples
      --------
      >>> s1 = Struct(a=10,b=30)
      >>> s2 = Struct(a=40)
      >>> s = s1 - s2
      >>> s
      {'b': 30}
      """
      sout = self.copy()
      sout -= other
      return sout
  
file_path: nbformat/nbformat/_struct.py
imports: from __future__ import annotations
  from typing import Any, Dict
label_desc: Use image node_id 7 for calling the Struct obj's underlying member method code with example usage: obj.__sub__(other) and returns: sout