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() ...@@ -231,8 +231,8 @@ list_builtin_module_names()
int i; int i;
if (list == NULL) if (list == NULL)
return NULL; return NULL;
for (i = 0; inittab[i].name != NULL; i++) { for (i = 0; _PyImport_Inittab[i].name != NULL; i++) {
PyObject *name = PyString_FromString(inittab[i].name); PyObject *name = PyString_FromString(_PyImport_Inittab[i].name);
if (name == NULL) if (name == NULL)
break; break;
PyList_Append(list, name); 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