From 73df364ee6a0ab2a8bc35532c12050cd9e2a0e2c Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 30 Jul 2012 18:35:17 -0400 Subject: [PATCH] Add a versionchanged mention to __import__ in regards to negative level values. --- Doc/library/functions.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 1cbe34a5c31..2f9a83167b1 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