PyDocs

Nav

Python Language Services

Import

ast

class
  • Import(names)
Import(alias* names, int? is_lazy)
1 Example
>>> print(ast.dump(ast.parse('import x,y,z'), indent=4))
Module(
    body=[
        Import(
            names=[
                alias(name='x'),
                alias(name='y'),
                alias(name='z')],
            is_lazy=0)])
from the Python docs
See Also
No see-alsos for ast/Import
0 Notes
No notes for Import