diff options
author | Guido van Rossum <guido@python.org> | 1997-04-29 20:42:30 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-04-29 20:42:30 +0000 |
commit | f515d2da2a690db0c02b9b1de4e963720a34ec14 (patch) | |
tree | 3f0e2a82294e53bd757770515a43bfe9b0fcae6a /Python/sysmodule.c | |
parent | 0e7f82912d40094a9ab05d3f9e7cde7717f0e78c (diff) | |
download | cpython-f515d2da2a690db0c02b9b1de4e963720a34ec14.tar.gz |
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 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); |