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

Method accept

mypy/types.py:1672–1673  ·  view source on GitHub ↗
(self, visitor: TypeVisitor[T])

Source from the content-addressed store, hash-verified

1670 self.extra_attrs = extra_attrs
1671
1672 def accept(self, visitor: TypeVisitor[T]) -> T:
1673 return visitor.visit_instance(self)
1674
1675 def __hash__(self) -> int:
1676 if self._hash == -1:

Callers

nothing calls this directly

Calls 1

visit_instanceMethod · 0.45

Tested by

no test coverage detected