Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 73df364

Browse files
committed
Add a versionchanged mention to __import__ in regards to negative level values.
1 parent 722d3ae commit 73df364

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Doc/library/functions.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,6 +1506,9 @@ are always available. They are listed here in alphabetical order.
15061506
If you simply want to import a module (potentially within a package) by name,
15071507
use :func:`importlib.import_module`.
15081508

1509+
.. versionchanged:: 3.3
1510+
Negative values for 'level' are no longer supported.
1511+
15091512

15101513
.. rubric:: Footnotes
15111514

0 commit comments

Comments
 (0)