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

Method sub

Tools/c-analyzer/distutils/msvccompiler.py:138–141  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

136 self.macros["$(FrameworkVersion)"] = d["version"]
137
138 def sub(self, s):
139 for k, v in self.macros.items():
140 s = s.replace(k, v)
141 return s
142
143def get_build_version():
144 """Return the version of MSVC that was used to build Python.

Callers 5

make_idFunction · 0.45
_preprocessMethod · 0.45
get_msvc_pathsMethod · 0.45
_iter_top_include_linesFunction · 0.45
_strip_directivesFunction · 0.45

Calls 2

itemsMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected