summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-07-30 22:35:17 (GMT)
committerBrett Cannon <brett@python.org>2012-07-30 22:35:17 (GMT)
commit73df364ee6a0ab2a8bc35532c12050cd9e2a0e2c (patch)
tree6d5162d54ed92190e23346514509029597d6cf59
parent722d3aec2eef7228c03ee12c53c75bb090c069e0 (diff)
downloadcpython-73df364ee6a0ab2a8bc35532c12050cd9e2a0e2c.zip
cpython-73df364ee6a0ab2a8bc35532c12050cd9e2a0e2c.tar.gz
cpython-73df364ee6a0ab2a8bc35532c12050cd9e2a0e2c.tar.bz2
Add a versionchanged mention to __import__ in regards to negative level values.
-rw-r--r--Doc/library/functions.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 1cbe34a..2f9a831 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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