| 1 |
:mod:`!imp` --- Access the import internals |
| 2 |
=========================================== |
| 3 |
|
| 4 |
.. module:: imp |
| 5 |
:synopsis: Removed in 3.12. |
| 6 |
:deprecated: |
| 7 |
|
| 8 |
.. deprecated-removed:: 3.4 3.12 |
| 9 |
|
| 10 |
This module is no longer part of the Python standard library. |
| 11 |
It was :ref:`removed in Python 3.12 <whatsnew312-removed-imp>` after |
| 12 |
being deprecated in Python 3.4. |
| 13 |
|
| 14 |
The :ref:`removal notice <whatsnew312-removed-imp>` includes guidance for |
| 15 |
migrating code from :mod:`!imp` to :mod:`importlib`. |
| 16 |
|
| 17 |
The last version of Python that provided the :mod:`!imp` module was |
| 18 |
`Python 3.11 <https://docs.python.org/3.11/library/imp.html>`_. |