diff options
Diffstat (limited to 'Doc/whatsnew/3.3.rst')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 858fce8..a64424d 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -1880,6 +1880,11 @@ Porting C code * :c:func:`PyImport_GetMagicNumber` now returns -1 upon failure. +* As a negative value for the **level** argument to :func:`__import__` is no + longer valid, the same now holds for :c:func:`PyImport_ImportModuleLevel`. + This also means that the value of **level** used by + :c:func:`PyImport_ImportModuleEx` is now 0 instead of -1. + Building C extensions --------------------- |