API reference
python:astx:astx.literals.LiteralComplex32.__init__
method __init__
__init__(real: float, imag: float, loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/literals/numeric.py:580
Declared as: python:astx:astx.literals.numeric.LiteralComplex32.__init__
Initialize LiteralComplex32.
Parameters
-
real โ Type: float
-
imag โ Type: float
-
loc โ Type: SourceLocation