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