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

Function apple_multiarch

Platforms/Apple/__main__.py:286–294  ·  view source on GitHub ↗

Return the multiarch descriptor for a given host triple.

(host: str)

Source from the content-addressed store, hash-verified

284
285
286def apple_multiarch(host: str) -> str:
287 """Return the multiarch descriptor for a given host triple."""
288 for _, platform_slices in HOSTS.items():
289 for slice_name, slice_parts in platform_slices.items():
290 for host_triple, multiarch in slice_parts.items():
291 if host == host_triple:
292 return multiarch
293
294 raise KeyError(host)
295
296
297def unpack_deps(

Callers 1

testFunction · 0.85

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…