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

Method accept

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

Source from the content-addressed store, hash-verified

477 # This may hide some real bugs, but it is convenient for various "synthetic"
478 # visitors, similar to RequiredType and ReadOnlyType below.
479 def accept(self, visitor: TypeVisitor[T]) -> T:
480 return self.type_guard.accept(visitor)
481
482
483class RequiredType(Type):

Callers

nothing calls this directly

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected