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

Method write_text

tools/c_coverage/c_coverage_report.py:56–64  ·  view source on GitHub ↗
(self, fd)

Source from the content-addressed store, hash-verified

54 line.add(as_func)
55
56 def write_text(self, fd):
57 source = open(self.path, "r")
58 for i, line in enumerate(source):
59 if i + 1 in self.lines:
60 fd.write("> ")
61 else:
62 fd.write("! ")
63 fd.write(line)
64 source.close()
65
66 def write_html(self, fd):
67 source = open(self.path, 'r')

Callers 12

write_textMethod · 0.45
setup_classMethod · 0.45
hello_world_f90Function · 0.45
gh23598_warnFunction · 0.45
gh22819_cliFunction · 0.45
hello_world_f77Function · 0.45
retreal_f77Function · 0.45
f2cmap_f90Function · 0.45
test_overwriteFunction · 0.45
write_meson_buildMethod · 0.45

Calls 3

openFunction · 0.85
writeMethod · 0.45
closeMethod · 0.45

Tested by 9

setup_classMethod · 0.36
hello_world_f90Function · 0.36
gh23598_warnFunction · 0.36
gh22819_cliFunction · 0.36
hello_world_f77Function · 0.36
retreal_f77Function · 0.36
f2cmap_f90Function · 0.36
test_overwriteFunction · 0.36