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

Method write_html

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

Source from the content-addressed store, hash-verified

63 fd.write(line)
64
65 def write_html(self, fd):
66 with open(self.path, 'r') as source:
67 code = source.read()
68 lexer = CLexer()
69 formatter = FunctionHtmlFormatter(
70 self.lines,
71 full=True,
72 linenos='inline')
73 fd.write(highlight(code, lexer, formatter))
74
75
76class SourceFiles:

Callers 2

write_htmlMethod · 0.45

Calls 4

openFunction · 0.85
readMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected