File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 8
8
.. deprecated-removed :: 3.10 3.12
9
9
10
10
This module is no longer part of the Python standard library.
11
- It was :ref: `removed in Python 3.12 <whatsnew312-removed >` after
11
+ It was :ref: `removed in Python 3.12 <whatsnew312-removed-distutils >` after
12
12
being deprecated in Python 3.10. The removal was decided in :pep: `632 `,
13
13
which has `migration advice
14
14
<https://peps.python.org/pep-0632/#migration-advice> `_.
Original file line number Diff line number Diff line change 8
8
.. deprecated-removed :: 3.4 3.12
9
9
10
10
This module is no longer part of the Python standard library.
11
- It was :ref: `removed in Python 3.12 <whatsnew312-removed >` after
11
+ It was :ref: `removed in Python 3.12 <whatsnew312-removed-imp >` after
12
12
being deprecated in Python 3.4.
13
13
14
+ The :ref: `removal notice <whatsnew312-removed-imp >` includes guidance for
15
+ migrating code from :mod: `!imp ` to :mod: `importlib `.
16
+
14
17
The last version of Python that provided the :mod: `!imp ` module was
15
18
`Python 3.11 <https://docs.python.org/3.11/library/imp.html >`_.
Original file line number Diff line number Diff line change @@ -1368,6 +1368,8 @@ configparser
1368
1368
* :class: `configparser.ConfigParser ` no longer has a ``readfp `` method.
1369
1369
Use :meth: `~configparser.ConfigParser.read_file ` instead.
1370
1370
1371
+ .. _whatsnew312-removed-distutils :
1372
+
1371
1373
distutils
1372
1374
---------
1373
1375
@@ -1449,6 +1451,8 @@ importlib
1449
1451
* ``importlib.abc.Finder ``, ``pkgutil.ImpImporter ``, and ``pkgutil.ImpLoader ``
1450
1452
have been removed. (Contributed by Barry Warsaw in :gh: `98040 `.)
1451
1453
1454
+ .. _whatsnew312-removed-imp :
1455
+
1452
1456
imp
1453
1457
---
1454
1458
You can’t perform that action at this time.
0 commit comments