API reference

python:astx:astx.ModuleInitializer

class ModuleInitializer

ModuleInitializer(body: Block, loc: SourceLocation = NO_SOURCE_LOCATION)

Source: packages/astx/src/astx/callables.py:565

Declared as: python:astx:astx.callables.ModuleInitializer

A module startup block lowered as a private zero-argument function.

Attributes

Methods

Search documentation

Type to search.