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

Method fixup_type

mypy/server/astmerge.py:375–377  ·  view source on GitHub ↗
(self, typ: Type | None)

Source from the content-addressed store, hash-verified

373 return self.fixup(node)
374
375 def fixup_type(self, typ: Type | None) -> None:
376 if typ is not None:
377 typ.accept(TypeReplaceVisitor(self.replacements))
378
379 def process_type_info(self, info: TypeInfo | None) -> None:
380 if info is None:

Callers 12

process_base_funcMethod · 0.95
process_type_var_defMethod · 0.95
visit_assignment_stmtMethod · 0.95
visit_cast_exprMethod · 0.95
visit_type_form_exprMethod · 0.95
visit_newtype_exprMethod · 0.95
visit_varMethod · 0.95
visit_type_aliasMethod · 0.95
process_type_infoMethod · 0.95

Calls 2

TypeReplaceVisitorClass · 0.85
acceptMethod · 0.45

Tested by

no test coverage detected