MCPcopy
hub / github.com/python/mypy / visit_lambda_expr

Method visit_lambda_expr

mypy/strconv.py:597–599  ·  view source on GitHub ↗
(self, o: mypy.nodes.LambdaExpr)

Source from the content-addressed store, hash-verified

595 return f"NewTypeExpr:{o.line}({o.name}, {self.dump([o.old_type], o)})"
596
597 def visit_lambda_expr(self, o: mypy.nodes.LambdaExpr) -> str:
598 a = self.func_helper(o)
599 return self.dump(a, o)
600
601 def visit_generator_expr(self, o: mypy.nodes.GeneratorExpr) -> str:
602 condlists = o.condlists if any(o.condlists) else None

Callers 1

acceptMethod · 0.45

Calls 2

func_helperMethod · 0.95
dumpMethod · 0.95

Tested by

no test coverage detected