class_docstr: Import hook for a shim.
  
  This ensures that submodule imports return the real target module,
  not a clone that will confuse `is` and `isinstance` checks.
class_docstr_tok: ["Import","hook","for","a","shim",".","This","ensures","that","submodule","imports","return","the","real","target","module",",","not","a","clone","that","will","confuse","`","is","`","and","`","isinstance","`","checks","."]
code: def __init__(self, src, mirror):
      self.src = src
      self.mirror = mirror
  
file_path: catboost/contrib/python/ipython/py2/IPython/utils/shimmodule.py
imports: import sys
  import types
  from .importstring import import_item
label_desc: Use image node_id 1 to create a new ShimImporter object from inherited base classes: object with example: obj = ShimImporter(src, mirror)