]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add a versionchanged mention to __import__ in regards to negative level values.
authorBrett Cannon <brett@python.org>
Mon, 30 Jul 2012 22:35:17 +0000 (18:35 -0400)
committerBrett Cannon <brett@python.org>
Mon, 30 Jul 2012 22:35:17 +0000 (18:35 -0400)
Doc/library/functions.rst

index 1cbe34a5c3190461166f3650c990bd59f9cfff0d..2f9a83167b1c91aa005137bfbf7c489302d820bc 100644 (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