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

Method OpenKeyEx

Lib/test/test_getpath.py:1069–1076  ·  view source on GitHub ↗
(self, hkey, subkey)

Source from the content-addressed store, hash-verified

1067 return list(self.open)
1068
1069 def OpenKeyEx(self, hkey, subkey):
1070 if verbose:
1071 print(f"OpenKeyEx({hkey}, {subkey})")
1072 key = f"{hkey}\\{subkey}".casefold()
1073 if key in self.keys:
1074 self.open[key] = self.open.get(key, 0) + 1
1075 return key
1076 raise FileNotFoundError()
1077
1078 def CloseKey(self, hkey):
1079 if verbose:

Callers 4

win32_editionFunction · 0.80
_win32_verFunction · 0.80
getpath.pyFile · 0.80
_find_vc2015Function · 0.80

Calls 2

casefoldMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected