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

Method accept

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

Source from the content-addressed store, hash-verified

495 return f"NotRequired[{self.item}]"
496
497 def accept(self, visitor: TypeVisitor[T]) -> T:
498 return self.item.accept(visitor)
499
500
501class ReadOnlyType(Type):

Callers

nothing calls this directly

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected