Kaydet (Commit) 73df364e authored tarafından Brett Cannon's avatar Brett Cannon

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

üst 722d3aec
...@@ -1506,6 +1506,9 @@ are always available. They are listed here in alphabetical order. ...@@ -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, If you simply want to import a module (potentially within a package) by name,
use :func:`importlib.import_module`. use :func:`importlib.import_module`.
.. versionchanged:: 3.3
Negative values for 'level' are no longer supported.
.. rubric:: Footnotes .. rubric:: Footnotes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment