Skip to content

Commit

Permalink
pythongh-101670: typo fix in PyImport_AppendInittab() (pythonGH-101672)
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev authored Feb 8, 2023
1 parent 86ebd5c commit 35dd550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/import.c
Original file line number Diff line number Diff line change
Expand Up @@ -2699,7 +2699,7 @@ PyImport_AppendInittab(const char *name, PyObject* (*initfunc)(void))
struct _inittab newtab[2];

if (_PyRuntime.imports.inittab != NULL) {
Py_FatalError("PyImport_AppendInittab() may be be called after Py_Initialize()");
Py_FatalError("PyImport_AppendInittab() may not be called after Py_Initialize()");
}

memset(newtab, '\0', sizeof newtab);
Expand Down

0 comments on commit 35dd550

Please sign in to comment.