code: def _get_executables_from_windows_registry(version):
      # The winreg module is named _winreg on Python 2.
      try:
          import winreg
      except ImportError:
          import _winreg as winreg
  
      # TODO: support Python Anaconda.
      sub_keys = [
          r"SOFTWARE\Python\PythonCore\{version}\InstallPath",
          r"SOFTWARE\Wow6432Node\Python\PythonCore\{version}\InstallPath",
          r"SOFTWARE\Python\PythonCore\{version}-32\InstallPath",
          r"SOFTWARE\Wow6432Node\Python\PythonCore\{version}-32\InstallPath",
      ]
      for root_key in [
          winreg.HKEY_CURRENT_USER,
          winreg.HKEY_LOCAL_MACHINE,
      ]:
          for sub_key in sub_keys:
              sub_key = sub_key.format(version=version)
              try:
                  with winreg.OpenKey(root_key, sub_key) as key:
                      prefix = winreg.QueryValueEx(key, "")[0]
                      exe = os.path.join(prefix, "python.exe")
                      if os.path.isfile(exe):
                          yield exe
              except WindowsError:
                  pass
  
imports: import os
  import sys
  import hashlib
  import filecmp
  from collections import namedtuple
  from jedi._compatibility import highest_pickle_protocol, which
  from jedi.cache import memoize_method, time_cache
  from jedi.evaluate.compiled.subprocess import CompiledSubprocess, EvaluatorSameProcess, EvaluatorSubprocess
  import parso
label_desc: Use image node_id 13 for calling a global function with example usage: _get_executables_from_windows_registry(version) without return types