API reference
python:astx:astx.collections.ListCreate.__init__
method __init__
__init__(element_type: astx.DataType) -> None
Source: packages/astx/src/astx/collections/list.py:83
Declared as: python:astx:astx.collections.list.ListCreate.__init__
Initialize one empty-list constructor.
Parameters
- element_type — Type of each element.; Type: astx.DataType
Returns
Type: None