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

Function temp_file_name

numpy/distutils/exec_command.py:99–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97
98
99def temp_file_name():
100 # 2019-01-30, 1.17
101 warnings.warn('temp_file_name is deprecated since NumPy v1.17, use '
102 'tempfile.mkstemp instead', DeprecationWarning, stacklevel=1)
103 fo, name = make_temp_file()
104 fo.close()
105 return name
106
107def get_pythonexe():
108 pythonexe = sys.executable

Callers

nothing calls this directly

Calls 3

make_temp_fileFunction · 0.90
warnMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected