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

Method cached_find_executable

numpy/distutils/fcompiler/__init__.py:301–306  ·  view source on GitHub ↗
(exe)

Source from the content-addressed store, hash-verified

299 assert self._is_customised
300 exe_cache = self._exe_cache
301 def cached_find_executable(exe):
302 if exe in exe_cache:
303 return exe_cache[exe]
304 fc_exe = find_executable(exe)
305 exe_cache[exe] = exe_cache[fc_exe] = fc_exe
306 return fc_exe
307 def verify_command_form(name, value):
308 if value is not None and not is_sequence_of_strings(value):
309 raise ValueError(

Callers

nothing calls this directly

Calls 1

find_executableFunction · 0.90

Tested by

no test coverage detected