code: def _get_paths_from_buildout_script(evaluator, buildout_script_path):
      try:
          module_node = evaluator.parse(
              path=buildout_script_path,
              cache=True,
              cache_path=settings.cache_directory,
          )
      except IOError:
          debug.warning(
              "Error trying to read buildout_script: %s",
              buildout_script_path,
          )
          return
  
      from jedi.evaluate.context import ModuleContext
  
      module = ModuleContext(
          evaluator,
          module_node,
          buildout_script_path,
          code_lines=get_cached_code_lines(
              evaluator.grammar, buildout_script_path
          ),
      )
      for path in check_sys_path_modifications(module):
          yield path
  
file_path: catboost/contrib/python/jedi/py3/jedi/evaluate/sys_path.py
imports: import os
  from jedi._compatibility import unicode, force_unicode, all_suffixes
  from jedi.evaluate.cache import evaluator_method_cache
  from jedi.evaluate.base_context import ContextualizedNode
  from jedi.evaluate.helpers import is_string
  from jedi.common.utils import traverse_parents
  from jedi.parser_utils import get_cached_code_lines
  from jedi import settings
  from jedi import debug
label_desc: Use image node_id 6 for calling a global function with example usage: _get_paths_from_buildout_script(evaluator, buildout_script_path) without return types