API reference

python:astx:astx.literals.collections.LiteralList.__init__

method __init__

__init__(elements: list[Literal], loc: SourceLocation = NO_SOURCE_LOCATION) -> None

Source: packages/astx/src/astx/literals/collections.py:35

Initialize LiteralList.

Parameters

Search documentation

Type to search.