class_docstr: A PEP 302 meta path importer for finding optionally-vendored
  or otherwise naturally-installed packages from root_name.
class_docstr_tok: ["A","PEP","302","meta","path","importer","for","finding","optionally-vendored","or","otherwise","naturally-installed","packages","from","root_name","."]
docstr: Iterate over the search path to locate and load fullname.
docstr_tok: ["Iterate","over","the","search","path","to","locate","and","load","fullname","."]
code: def load_module(self, fullname):
      """
      Iterate over the search path to locate and load fullname.
      """
      root, base, target = fullname.partition(self.root_name + ".")
      for prefix in self.search_path:
          try:
              extant = prefix + target
              __import__(extant)
              mod = sys.modules[extant]
              sys.modules[fullname] = mod
              return mod
          except ImportError:
              pass
      else:
          raise ImportError(
              "The '{target}' package is required; "
              "normally this is bundled with this package so if you get "
              "this warning, consult the packager of your "
              "distribution.".format(**locals())
          )
  
file_path: catboost/contrib/python/setuptools/py3/pkg_resources/extern/__init__.py
imports: import importlib.util
  import sys
label_desc: Use image node_id 4 for calling the VendorImporter obj's underlying member method code with example usage: obj.load_module(fullname) and returns: mod