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

Method __init__

mypy/report.py:154–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

152
153class FuncCounterVisitor(TraverserVisitor):
154 def __init__(self) -> None:
155 super().__init__()
156 self.counts = [0, 0]
157
158 def visit_func_def(self, defn: FuncDef) -> None:
159 self.counts[defn.type is not None] += 1

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected