API reference
python:astx:astx.callables.LambdaExpr.__init__
method __init__
__init__(body: Expr, params: Arguments = Arguments(), loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/callables.py:583
Initialize the lambda expression.
Parameters
-
body — Type: Expr
-
params — Type: Arguments
-
loc — Type: SourceLocation
-
parent — Type: Optional[ASTNodes]