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

Function allow

numpy/distutils/ccompiler.py:410–411  ·  view source on GitHub ↗
(attr)

Source from the content-addressed store, hash-verified

408 self.compiler_so.append('-ftrapping-math')
409
410 def allow(attr):
411 return getattr(cmd, attr, None) is not None and attr not in ignore
412
413 if allow('include_dirs'):
414 self.set_include_dirs(cmd.include_dirs)

Callers 1

CCompiler_customize_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected