summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-29 20:42:30 +0000
committerGuido van Rossum <guido@python.org>1997-04-29 20:42:30 +0000
commitf515d2da2a690db0c02b9b1de4e963720a34ec14 (patch)
tree3f0e2a82294e53bd757770515a43bfe9b0fcae6a /Python/sysmodule.c
parent0e7f82912d40094a9ab05d3f9e7cde7717f0e78c (diff)
downloadcpython-f515d2da2a690db0c02b9b1de4e963720a34ec14.tar.gz
Oops, forgot one: inittab.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index d15fab1ed4..830fb5d68b 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -231,8 +231,8 @@ list_builtin_module_names()
int i;
if (list == NULL)
return NULL;
- for (i = 0; inittab[i].name != NULL; i++) {
- PyObject *name = PyString_FromString(inittab[i].name);
+ for (i = 0; _PyImport_Inittab[i].name != NULL; i++) {
+ PyObject *name = PyString_FromString(_PyImport_Inittab[i].name);
if (name == NULL)
break;
PyList_Append(list, name);