diff options
author | Georg Brandl <georg@python.org> | 2007-12-02 09:40:06 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-12-02 09:40:06 (GMT) |
commit | 1a3284ed69d545e4ef59869998cb8c29233a45fa (patch) | |
tree | 98728a9b7aae6188ee8124160007a9d5c5277f8c /PC | |
parent | 87f9c53937ce47f55851ac7c71a94e46cf9142bf (diff) | |
download | cpython-1a3284ed69d545e4ef59869998cb8c29233a45fa.zip cpython-1a3284ed69d545e4ef59869998cb8c29233a45fa.tar.gz cpython-1a3284ed69d545e4ef59869998cb8c29233a45fa.tar.bz2 |
#1535: rename __builtin__ module to builtins.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/bdist_wininst/install.c | 2 | ||||
-rw-r--r-- | PC/config.c | 2 | ||||
-rw-r--r-- | PC/os2emx/config.c | 2 | ||||
-rw-r--r-- | PC/os2vacpp/config.c | 2 |
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 */ |