MCPcopy Index your code
hub / github.com/python/mypy / record_line

Method record_line

mypy/stats.py:416–417  ·  view source on GitHub ↗
(self, line: int, precision: int)

Source from the content-addressed store, hash-verified

414 self.output.append(string)
415
416 def record_line(self, line: int, precision: int) -> None:
417 self.line_map[line] = max(precision, self.line_map.get(line, TYPE_EMPTY))
418
419
420def dump_type_stats(

Callers 8

process_importMethod · 0.95
visit_importMethod · 0.95
visit_func_defMethod · 0.95
visit_class_defMethod · 0.95
visit_expression_stmtMethod · 0.95
typeMethod · 0.95

Calls 2

maxFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected