commit | bb5c6f8529c89d2396a3e3c06cf575a130ff7a0e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Apr 29 20:42:30 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Apr 29 20:42:30 1997 +0000 |
tree | 99ce24e3f6175fdc0b4bb1ed3ec08498e831e532 | |
parent | 87490eb3b0c5b256da533fd0d9651ef94e176d51 [diff] |
Oops, forgot one: inittab.
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index d15fab1..830fb5d 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c
@@ -231,8 +231,8 @@ 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);