Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87490eb commit bb5c6f8Copy full SHA for bb5c6f8
1 file changed
Python/sysmodule.c
@@ -231,8 +231,8 @@ list_builtin_module_names()
231
int i;
232
if (list == NULL)
233
return NULL;
234
- for (i = 0; inittab[i].name != NULL; i++) {
235
- PyObject *name = PyString_FromString(inittab[i].name);
+ for (i = 0; _PyImport_Inittab[i].name != NULL; i++) {
+ PyObject *name = PyString_FromString(_PyImport_Inittab[i].name);
236
if (name == NULL)
237
break;
238
PyList_Append(list, name);
0 commit comments