diff options
author | Guido van Rossum <guido@python.org> | 1997-04-29 20:42:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-04-29 20:42:30 (GMT) |
commit | bb5c6f8529c89d2396a3e3c06cf575a130ff7a0e (patch) | |
tree | 99ce24e3f6175fdc0b4bb1ed3ec08498e831e532 /Python/sysmodule.c | |
parent | 87490eb3b0c5b256da533fd0d9651ef94e176d51 (diff) | |
download | cpython-bb5c6f8529c89d2396a3e3c06cf575a130ff7a0e.zip cpython-bb5c6f8529c89d2396a3e3c06cf575a130ff7a0e.tar.gz cpython-bb5c6f8529c89d2396a3e3c06cf575a130ff7a0e.tar.bz2 |
Oops, forgot one: inittab.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ 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); |