diff --git a/pep-0484.txt b/pep-0484.txt index ac0c7f65bfc..1980e661223 100644 --- a/pep-0484.txt +++ b/pep-0484.txt @@ -1651,6 +1651,9 @@ Additional notes on stub files: * Modules and variables imported into the stub are not considered exported from the stub unless the import uses the ``import ... as ...`` form or the equivalent ``from ... import ... as ...`` form. + (*UPDATE:* To clarify, the intention here is that only names + imported using the form ``X as X`` will be exported, i.e. the name + before and after ``as`` must be the same.) * However, as an exception to the previous bullet, all objects imported into a stub using ``from ... import *`` are considered