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

Method get_value

Tools/c-analyzer/distutils/msvc9compiler.py:61–66  ·  view source on GitHub ↗
(cls, path, key)

Source from the content-addressed store, hash-verified

59 """
60
61 def get_value(cls, path, key):
62 for base in HKEYS:
63 d = cls.read_values(base, path)
64 if d and key in d:
65 return d[key]
66 raise KeyError(key)
67 get_value = classmethod(get_value)
68
69 def read_keys(cls, base, key):

Callers 3

set_macroMethod · 0.45
load_macrosMethod · 0.45
find_vcvarsallFunction · 0.45

Calls 1

read_valuesMethod · 0.80

Tested by

no test coverage detected