MCPcopy
hub / github.com/python/mypy / dump_typeinfo

Method dump_typeinfo

mypy/test/testmerge.py:198–203  ·  view source on GitHub ↗
(self, info: TypeInfo)

Source from the content-addressed store, hash-verified

196 return a
197
198 def dump_typeinfo(self, info: TypeInfo) -> list[str]:
199 if info.fullname == "enum.Enum":
200 # Avoid noise
201 return []
202 s = info.dump(str_conv=self.str_conv, type_str_conv=self.type_str_conv)
203 return s.splitlines()
204
205 def dump_types(
206 self, modules: dict[str, MypyFile], manager: FineGrainedBuildManager

Callers 1

Calls 2

splitlinesMethod · 0.80
dumpMethod · 0.45

Tested by

no test coverage detected