API reference
python:astx:astx.ListType.__init__
method __init__
__init__(element_types: list[ExprType], *, size: int | None = None) -> None
Source: packages/astx/src/astx/types/collections.py:93
Declared as: python:astx:astx.types.collections.ListType.__init__
Initialize ListType with an element type.
Parameters
-
element_types — Type: list[ExprType]
-
size — Type: int | None