API reference

python:astx:astx.ImportExpr.__init__

method __init__

__init__(names: list[AliasExpr], loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None

Source: packages/astx/src/astx/packages.py:505

Declared as: python:astx:astx.packages.ImportExpr.__init__

Initialize the import expression.

Parameters

Search documentation

Type to search.