API reference

python:astx:astx.collections.list.ListExpr.__init__

method __init__

__init__(elements: Sequence[astx.Expr], loc: SourceLocation = NO_SOURCE_LOCATION) -> None

Source: packages/astx/src/astx/collections/list.py:42

Initialize a collection expression without inferring its type.

Parameters

Search documentation

Type to search.