From: Guido van Rossum Date: Tue, 29 Apr 1997 20:42:30 +0000 (+0000) Subject: Oops, forgot one: inittab. X-Git-Tag: v1.5a1~99 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb5c6f8529c89d2396a3e3c06cf575a130ff7a0e;p=thirdparty%2FPython%2Fcpython.git Oops, forgot one: inittab. --- diff --git a/Python/sysmodule.c b/Python/sysmodule.c index d15fab1ed4a8..830fb5d68b35 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);