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

Function get_build_architecture

Tools/c-analyzer/distutils/msvccompiler.py:168–179  ·  view source on GitHub ↗

Return the processor architecture. Possible results are "Intel" or "AMD64".

()

Source from the content-addressed store, hash-verified

166 return None
167
168def get_build_architecture():
169 """Return the processor architecture.
170
171 Possible results are "Intel" or "AMD64".
172 """
173
174 prefix = " bit ("
175 i = sys.version.find(prefix)
176 if i == -1:
177 return "Intel"
178 j = sys.version.find(")", i)
179 return sys.version[i+len(prefix):j]
180
181def normalize_and_reduce_paths(paths):
182 """Return a list of normalized paths with duplicates removed.

Callers 1

__init__Method · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…