Kaydet (Commit) bb5c6f85 authored tarafından Guido van Rossum's avatar Guido van Rossum

Oops, forgot one: inittab.

üst 87490eb3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment