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

Method accept

mypy/nodes.py:3496–3497  ·  view source on GitHub ↗
(self, visitor: ExpressionVisitor[T])

Source from the content-addressed store, hash-verified

3494 self.type = type
3495
3496 def accept(self, visitor: ExpressionVisitor[T]) -> T:
3497 return visitor.visit__promote_expr(self)
3498
3499
3500class NewTypeExpr(Expression):

Callers

nothing calls this directly

Calls 1

visit__promote_exprMethod · 0.45

Tested by

no test coverage detected