Special case in stub files for import *.
This commit is contained in:
parent
23a9ad5cc1
commit
10aeb49768
|
@ -1040,7 +1040,12 @@ Additional notes on stub files:
|
||||||
|
|
||||||
* Modules and variables imported into the stub are not considered
|
* Modules and variables imported into the stub are not considered
|
||||||
exported from the stub unless the import uses the ``import ... as
|
exported from the stub unless the import uses the ``import ... as
|
||||||
...`` form.
|
...`` form or the equivalent ``from ... import ... as ...`` form.
|
||||||
|
|
||||||
|
* However, as an exception to the previous bullet, all objects
|
||||||
|
imported into a stub using ``from ... import *`` are considered
|
||||||
|
exported. (This makes it easier to re-export all objects from a
|
||||||
|
given module that may very by Python version.)
|
||||||
|
|
||||||
Function overloading
|
Function overloading
|
||||||
--------------------
|
--------------------
|
||||||
|
|
Loading…
Reference in New Issue