API reference
python:astx:astx.literals.LiteralComplex64.__init__
method __init__
__init__(real: float, imag: float, loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/literals/numeric.py:534
Declared as: python:astx:astx.literals.numeric.LiteralComplex64.__init__
Initialize LiteralComplex64.
Parameters
-
real โ Real.; Type: float
-
imag โ Imag.; Type: float
-
loc โ Source coordinates associated with the node.; Type: SourceLocation
Returns
Type: None