Skip to content

Commit 490ce18

Browse files
committed
pythongh-101670: typo fix in PyImport_AppendInittab()
1 parent aacbdb0 commit 490ce18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/import.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2692,7 +2692,7 @@ PyImport_AppendInittab(const char *name, PyObject* (*initfunc)(void))
26922692
struct _inittab newtab[2];
26932693

26942694
if (_PyRuntime.imports.inittab != NULL) {
2695-
Py_FatalError("PyImport_AppendInittab() may be be called after Py_Initialize()");
2695+
Py_FatalError("PyImport_AppendInittab() may not be called after Py_Initialize()");
26962696
}
26972697

26982698
memset(newtab, '\0', sizeof newtab);

0 commit comments

Comments
 (0)