MCPcopy Index your code
hub / github.com/numpy/numpy / get_module_dir

Function get_module_dir

numpy/f2py/tests/util.py:150–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148
149
150def get_module_dir():
151 global _module_dir
152 if _module_dir is None:
153 _module_dir = tempfile.mkdtemp()
154 atexit.register(_cleanup)
155 if _module_dir not in sys.path:
156 sys.path.insert(0, _module_dir)
157 return _module_dir
158
159
160def get_temp_module_name():

Callers 3

get_temp_module_nameFunction · 0.85
build_moduleFunction · 0.85
build_mesonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…