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

Method write_text

tools/c_coverage/c_coverage_report.py:96–100  ·  view source on GitHub ↗
(self, root)

Source from the content-addressed store, hash-verified

94 return re.sub(r"[^A-Za-z0-9\.]", '_', path)
95
96 def write_text(self, root):
97 for path, source in self.files.items():
98 fd = open(os.path.join(root, self.clean_path(path)), "w")
99 source.write_text(fd)
100 fd.close()
101
102 def write_html(self, root):
103 for path, source in self.files.items():

Callers

nothing calls this directly

Calls 5

clean_pathMethod · 0.95
openFunction · 0.85
joinMethod · 0.45
write_textMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected