summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-04-15 20:08:47 (GMT)
committerBrett Cannon <brett@python.org>2012-04-15 20:08:47 (GMT)
commit6f44d66bc491bad5b8d897a68da68e009e27829d (patch)
tree311e790c6611c8dc6af47bdadce99e9730fda9fe /Modules
parent7788838473aa3993d29fcf9de25605d492f25d29 (diff)
downloadcpython-6f44d66bc491bad5b8d897a68da68e009e27829d.zip
cpython-6f44d66bc491bad5b8d897a68da68e009e27829d.tar.gz
cpython-6f44d66bc491bad5b8d897a68da68e009e27829d.tar.bz2
Issue #13959: Rename imp to _imp and add Lib/imp.py and begin
rewriting functionality in pure Python. To start, imp.new_module() has been rewritten in pure Python, put into importlib (privately) and then publicly exposed in imp.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/config.c.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/config.c.in b/Modules/config.c.in
index 34d44d5..771d901 100644
--- a/Modules/config.c.in
+++ b/Modules/config.c.in
@@ -39,7 +39,7 @@ struct _inittab _PyImport_Inittab[] = {
{"marshal", PyMarshal_Init},
/* This lives in import.c */
- {"imp", PyInit_imp},
+ {"_imp", PyInit_imp},
/* This lives in Python/Python-ast.c */
{"_ast", PyInit__ast},