docstr: Remove any builtins which might have been added by add_builtins, or
  restore overwritten ones to their previous values.
docstr_tok: ["Remove","any","builtins","which","might","have","been","added","by","add_builtins",",","or","restore","overwritten","ones","to","their","previous","values","."]
code: def deactivate(self):
      """Remove any builtins which might have been added by add_builtins, or
      restore overwritten ones to their previous values."""
      remove_builtin = self.remove_builtin
      for key, val in iteritems(self._orig_builtins):
          remove_builtin(key, val)
      self._orig_builtins.clear()
      self._builtins_added = False
  
file_path: catboost/contrib/python/ipython/py2/IPython/core/builtin_trap.py
imports: from traitlets.config.configurable import Configurable
  from IPython.utils.py3compat import builtin_mod, iteritems
  from traitlets import Instance
label_desc: Use image node_id 7 for calling the BuiltinTrap obj's underlying member method code with example usage: obj.deactivate() without return types