MCPcopy Index your code
hub / github.com/python/cpython / _open_registry

Method _open_registry

Lib/importlib/_bootstrap_external.py:681–685  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

679
680 @staticmethod
681 def _open_registry(key):
682 try:
683 return winreg.OpenKey(winreg.HKEY_CURRENT_USER, key)
684 except OSError:
685 return winreg.OpenKey(winreg.HKEY_LOCAL_MACHINE, key)
686
687 @classmethod
688 def _search_registry(cls, fullname):

Callers 1

_search_registryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected