Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 6550:f406ec35bfca legacy-trunk
Get rid of another reference to _PyImport_Inittab (now a static array)
that should be PyImport_Inittab (a new pointer initialized to point to
the array).
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 04 Nov 1997 17:04:34 +0000 |
| parents | b62a7a59414e |
| children | c7454ca7d3ac |
line wrap: on
line diff
--- a/Python/sysmodule.c Mon Nov 03 22:08:36 1997 +0000 +++ b/Python/sysmodule.c Tue Nov 04 17:04:34 1997 +0000 @@ -251,9 +251,9 @@ int i; if (list == NULL) return NULL; - for (i = 0; _PyImport_Inittab[i].name != NULL; i++) { + for (i = 0; PyImport_Inittab[i].name != NULL; i++) { PyObject *name = PyString_FromString( - _PyImport_Inittab[i].name); + PyImport_Inittab[i].name); if (name == NULL) break; PyList_Append(list, name);
