gh-101670: typo fix in PyImport_AppendInittab() (GH-101672)

This commit is contained in:
Sergey B Kirpichev 2023-02-08 18:49:04 +03:00 committed by GitHub
parent 86ebd5c3fa
commit 35dd55005e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);