MCPcopy Create free account
hub / github.com/numpy/numpy / til

Method til

numpy/distutils/ccompiler_opt.py:1491–1499  ·  view source on GitHub ↗
(tnames)

Source from the content-addressed store, hash-verified

1489 features.
1490 """
1491 def til(tnames):
1492 # sort from highest to lowest interest then cut if "key" is False
1493 tnames = self.feature_implies_c(tnames)
1494 tnames = self.feature_sorted(tnames, reverse=True)
1495 for i, n in enumerate(tnames):
1496 if not self.feature_supported[n].get(keyisfalse, True):
1497 tnames = tnames[:i+1]
1498 break
1499 return tnames
1500
1501 if isinstance(names, str) or len(names) <= 1:
1502 names = til(names)

Callers

nothing calls this directly

Calls 3

feature_implies_cMethod · 0.95
feature_sortedMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected