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

Function all_host_triples

Platforms/Apple/__main__.py:164–173  ·  view source on GitHub ↗

Return all host triples for the given platform. The host triples are the platform definitions used as input to configure (e.g., "arm64-apple-ios-simulator").

(platform: str)

Source from the content-addressed store, hash-verified

162
163
164def all_host_triples(platform: str) -> list[str]:
165 """Return all host triples for the given platform.
166
167 The host triples are the platform definitions used as input to configure
168 (e.g., "arm64-apple-ios-simulator").
169 """
170 triples = []
171 for slice_name, slice_parts in HOSTS[platform].items():
172 triples.extend(list(slice_parts))
173 return triples
174
175
176def clean(context: argparse.Namespace, target: str | None = None) -> None:

Callers 2

cleanFunction · 0.85
buildFunction · 0.85

Calls 3

listClass · 0.85
itemsMethod · 0.45
extendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…