Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb5c6f8

Browse files
committed
Oops, forgot one: inittab.
1 parent 87490eb commit bb5c6f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/sysmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ list_builtin_module_names()
231231
int i;
232232
if (list == NULL)
233233
return NULL;
234-
for (i = 0; inittab[i].name != NULL; i++) {
235-
PyObject *name = PyString_FromString(inittab[i].name);
234+
for (i = 0; _PyImport_Inittab[i].name != NULL; i++) {
235+
PyObject *name = PyString_FromString(_PyImport_Inittab[i].name);
236236
if (name == NULL)
237237
break;
238238
PyList_Append(list, name);

0 commit comments

Comments
 (0)