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

Method feature_is_exist

numpy/distutils/ccompiler_opt.py:1309–1320  ·  view source on GitHub ↗

Returns True if a certain feature is exist and covered within ``_Config.conf_features``. Parameters ---------- 'name': str feature name in uppercase.

(self, name)

Source from the content-addressed store, hash-verified

1307 return supported_names
1308
1309 def feature_is_exist(self, name):
1310 """
1311 Returns True if a certain feature is exist and covered within
1312 ``_Config.conf_features``.
1313
1314 Parameters
1315 ----------
1316 'name': str
1317 feature name in uppercase.
1318 """
1319 assert(name.isupper())
1320 return name in self.conf_features
1321
1322 def feature_sorted(self, names, reverse=False):
1323 """

Callers 3

_parse_arg_featuresMethod · 0.80
_parse_target_tokensMethod · 0.80
_parse_multi_targetMethod · 0.80

Calls 1

isupperMethod · 0.80

Tested by

no test coverage detected