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

Method _command_property

numpy/distutils/fcompiler/__init__.py:248–252  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

246 # as attributes from the self.executables dictionary is error-prone,
247 # so we get them from there each time.
248 def _command_property(key):
249 def fget(self):
250 assert self._is_customised
251 return self.executables[key]
252 return property(fget=fget)
253 version_cmd = _command_property('version_cmd')
254 compiler_f77 = _command_property('compiler_f77')
255 compiler_f90 = _command_property('compiler_f90')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected