API reference
python:astx:astx.ListExpr.__init__
method __init__
__init__(elements: Sequence[astx.Expr], loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/collections/list.py:42
Declared as: python:astx:astx.collections.list.ListExpr.__init__
Initialize a collection expression without inferring its type.
Parameters
-
elements — Type: Sequence[astx.Expr]
-
loc — Type: SourceLocation