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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb5c6f8529c89d2396a3e3c06cf575a130ff7a0e;p=python Oops, forgot one: inittab. --- 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);