mirror of https://github.com/python/cpython
Add a versionchanged mention to __import__ in regards to negative level values.
This commit is contained in:
parent
722d3aec2e
commit
73df364ee6
|
@ -1506,6 +1506,9 @@ are always available. They are listed here in alphabetical order.
|
|||
If you simply want to import a module (potentially within a package) by name,
|
||||
use :func:`importlib.import_module`.
|
||||
|
||||
.. versionchanged:: 3.3
|
||||
Negative values for 'level' are no longer supported.
|
||||
|
||||
|
||||
.. rubric:: Footnotes
|
||||
|
||||
|
|
Loading…
Reference in New Issue