summaryrefslogtreecommitdiffstats
path: root/PC/config.c
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 /PC/config.c
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 'PC/config.c')
-rw-r--r--PC/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/config.c b/PC/config.c
index be51b55..d055f9a 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -143,7 +143,7 @@ struct _inittab _PyImport_Inittab[] = {
{"marshal", PyMarshal_Init},
/* This lives it with import.c */
- {"imp", PyInit_imp},
+ {"_imp", PyInit_imp},
/* These entries are here for sys.builtin_module_names */
{"__main__", NULL},