summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
Diffstat (limited to 'PC')
-rw-r--r--PC/bdist_wininst/install.c2
-rw-r--r--PC/config.c2
-rw-r--r--PC/os2emx/config.c2
-rw-r--r--PC/os2vacpp/config.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/PC/bdist_wininst/install.c b/PC/bdist_wininst/install.c
index 0ce2371..3f7d774 100644
--- a/PC/bdist_wininst/install.c
+++ b/PC/bdist_wininst/install.c
@@ -654,7 +654,7 @@ static int prepare_script_environment(HINSTANCE hPython)
if (!Py_BuildValue || !PyArg_ParseTuple || !PyErr_Format)
return 1;
- mod = PyImport_ImportModule("__builtin__");
+ mod = PyImport_ImportModule("builtins");
if (mod) {
int i;
g_PyExc_ValueError = PyObject_GetAttrString(mod, "ValueError");
diff --git a/PC/config.c b/PC/config.c
index 63ff2c0..fee254a 100644
--- a/PC/config.c
+++ b/PC/config.c
@@ -143,7 +143,7 @@ struct _inittab _PyImport_Inittab[] = {
/* These entries are here for sys.builtin_module_names */
{"__main__", NULL},
- {"__builtin__", NULL},
+ {"builtins", NULL},
{"sys", NULL},
{"_types", init_types},
diff --git a/PC/os2emx/config.c b/PC/os2emx/config.c
index 3524429..47378fd 100644
--- a/PC/os2emx/config.c
+++ b/PC/os2emx/config.c
@@ -156,7 +156,7 @@ struct _inittab _PyImport_Inittab[] = {
/* These entries are here for sys.builtin_module_names */
{"__main__", NULL},
- {"__builtin__", NULL},
+ {"builtins", NULL},
{"sys", NULL},
/* This lives in gcmodule.c */
diff --git a/PC/os2vacpp/config.c b/PC/os2vacpp/config.c
index 62bb8b2..7be2b0b 100644
--- a/PC/os2vacpp/config.c
+++ b/PC/os2vacpp/config.c
@@ -94,7 +94,7 @@ struct _inittab _PyImport_Inittab[] = {
/* These entries are here for sys.builtin_module_names */
{"__main__", NULL},
- {"__builtin__", NULL},
+ {"builtins", NULL},
{"sys", NULL},
/* Sentinel */