code: def _load_faked_module(evaluator, module_name):
      try:
          return fake_modules[module_name]
      except KeyError:
          pass
  
      check_module_name = module_name
      if (
          module_name == "__builtin__"
          and evaluator.environment.version_info.major == 2
      ):
          check_module_name = "builtins"
  
      try:
          path = _path_dict[check_module_name]
      except KeyError:
          fake_modules[module_name] = None
          return
  
      if sys.version_info[0] == 3:
          path = bytes(path, "ascii")
      source = __res.resfs_read(path)
  
      fake_modules[module_name] = m = evaluator.latest_grammar.parse(
          unicode(source)
      )
  
      if check_module_name != module_name:
          # There are two implementations of `open` for either python 2/3.
          # -> Rename the python2 version (`look at fake/builtins.pym`).
          open_func = _search_scope(m, "open")
          open_func.children[1].value = "open_python3"
          open_func = _search_scope(m, "open_python2")
          open_func.children[1].value = "open"
      return m
  
file_path: catboost/contrib/python/jedi/py2/jedi/evaluate/compiled/fake.py
imports: import sys
  import os
  from itertools import chain
  import __res
  from jedi._compatibility import unicode
label_desc: Use image node_id 2 for calling a global function with example usage: _load_faked_module(evaluator, module_name) and returns: m, fake_modules