Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bca1a262
Commit
bca1a262
authored
Apr 18, 2013
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#17135: Add note in imp to use importlib for new programs.
parent
0471ac3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Doc/library/imp.rst
Doc/library/imp.rst
+6
-2
No files found.
Doc/library/imp.rst
View file @
bca1a262
: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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment