From bb5c6f8529c89d2396a3e3c06cf575a130ff7a0e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 29 Apr 1997 20:42:30 +0000 Subject: [PATCH] Oops, forgot one: inittab. --- Python/sysmodule.c | 4 ++-- 1 file 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); -- 2.50.0