class_docstr: Import Hook that will guard against bad Qt imports
  once IPython commits to a specific binding
class_docstr_tok: ["Import","Hook","that","will","guard","against","bad","Qt","imports","once","IPython","commits","to","a","specific","binding"]
code: def forbid(self, module_name):
      sys.modules.pop(module_name, None)
      self.__forbidden.add(module_name)
  
imports: import importlib.abc
  import sys
  import os
  import types
  from functools import partial, lru_cache
  import operator
label_desc: Use image node_id 2 for calling the ImportDenier obj's underlying member method code with example usage: obj.forbid(module_name) without return types