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

Method visit_overloaded

mypy/server/astdiff.py:512–513  ·  view source on GitHub ↗
(self, typ: Overloaded)

Source from the content-addressed store, hash-verified

510 return ("UnionType", normalized)
511
512 def visit_overloaded(self, typ: Overloaded) -> SnapshotItem:
513 return ("Overloaded", snapshot_types(typ.items))
514
515 def visit_partial_type(self, typ: PartialType) -> SnapshotItem:
516 # A partial type is not fully defined, so the result is indeterminate. We shouldn't

Callers

nothing calls this directly

Calls 1

snapshot_typesFunction · 0.85

Tested by

no test coverage detected