Add a versionchanged mention to __import__ in regards to negative level values.

This commit is contained in:
Brett Cannon 2012-07-30 18:35:17 -04:00
parent 722d3aec2e
commit 73df364ee6
1 changed files with 3 additions and 0 deletions

View File

@ -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