Skip to content

Commit e1f1464

Browse files
authored
gh-98040: Remove just the imp module (#98573)
1 parent 79b9db9 commit e1f1464

24 files changed

+41
-1538
lines changed

Doc/c-api/import.rst

+2
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ Importing Modules
188188
.. versionchanged:: 3.3
189189
Uses :func:`imp.source_from_cache()` in calculating the source path if
190190
only the bytecode path is provided.
191+
.. versionchanged:: 3.12
192+
No longer uses the removed ``imp`` module.
191193
192194
193195
.. c:function:: long PyImport_GetMagicNumber()

Doc/library/functions.rst

-1
Original file line numberDiff line numberDiff line change
@@ -1987,7 +1987,6 @@ are always available. They are listed here in alphabetical order.
19871987

19881988
.. index::
19891989
statement: import
1990-
module: imp
19911990

19921991
.. note::
19931992

0 commit comments

Comments
 (0)