Use of "from .x import y" in pyi file should add implicit symbol export of "x" #782
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
According to PEP 484:
Just like in normal Python files [importdocs], submodules automatically become exported attributes of their parent module when imported. For example, if the spam package has the following directory structure:
spam/
init.pyi
ham.pyi
where init.pyi contains a line such as from . import ham or from .ham import Ham, then ham is an exported attribute of spam.
The text was updated successfully, but these errors were encountered: