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

Method visit_lambda_expr

mypy/stubgen.py:401–403  ·  view source on GitHub ↗
(self, o: LambdaExpr)

Source from the content-addressed store, hash-verified

399 return f"*{o.expr.accept(self)}"
400
401 def visit_lambda_expr(self, o: LambdaExpr) -> str:
402 # TODO: Required for among other things dataclass.field default_factory
403 return self.stubgen.add_name("_typeshed.Incomplete")
404
405 def _visit_unsupported_expr(self, o: object) -> str:
406 # Something we do not understand.

Callers

nothing calls this directly

Calls 1

add_nameMethod · 0.80

Tested by

no test coverage detected