Commit bca1a262 authored by R David Murray's avatar R David Murray

#17135: Add note in imp to use importlib for new programs.

parent 0471ac3d
:mod:`imp` --- Access the :keyword:`import` internals
=====================================================
:mod:`imp` --- Access the :ref:`import <importsystem>` internals
================================================================
.. module:: imp
:synopsis: Access the implementation of the import statement.
......@@ -11,6 +11,10 @@ This module provides an interface to the mechanisms used to implement the
:keyword:`import` statement. It defines the following constants and functions:
.. note::
New programs should use :mod:`importlib` rather than this module.
.. function:: get_magic()
.. index:: pair: file; byte-code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment