API reference
python:astx:astx.literals.LiteralDict.__init__
method __init__
__init__(elements: dict[Literal, Literal], loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/literals/collections.py:149
Declared as: python:astx:astx.literals.collections.LiteralDict.__init__
Initialize LiteralDict.
Parameters
-
elements — Type: dict[Literal, Literal]
-
loc — Type: SourceLocation