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

Function dummy_fortran_file

numpy/distutils/fcompiler/__init__.py:972–976  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

970
971
972def dummy_fortran_file():
973 fo, name = make_temp_file(suffix='.f')
974 fo.write(" subroutine dummy()\n end\n")
975 fo.close()
976 return name[:-2]
977
978
979_has_f_header = re.compile(r'-\*-\s*fortran\s*-\*-', re.I).search

Callers 3

update_executablesMethod · 0.90
update_executablesMethod · 0.90
update_executablesMethod · 0.90

Calls 3

make_temp_fileFunction · 0.90
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected