Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 5377:09597a423227 legacy-trunk
Oops, forgot one: inittab.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 29 Apr 1997 20:42:30 +0000 |
| parents | 424922afc1bb |
| children | b7871ca930ad |
line wrap: on
line diff
--- a/Python/sysmodule.c Tue Apr 29 20:31:59 1997 +0000 +++ b/Python/sysmodule.c Tue Apr 29 20:42:30 1997 +0000 @@ -231,8 +231,8 @@ 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);
