From: Sergey B Kirpichev Date: Wed, 8 Feb 2023 15:49:04 +0000 (+0300) Subject: gh-101670: typo fix in PyImport_AppendInittab() (GH-101672) X-Git-Tag: v3.12.0a6~215 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35dd55005ee9aea2843eff7f514ee689a0995df8;p=thirdparty%2FPython%2Fcpython.git gh-101670: typo fix in PyImport_AppendInittab() (GH-101672) --- diff --git a/Python/import.c b/Python/import.c index 1318c09d9b32..795d36896648 100644 --- a/Python/import.c +++ b/Python/import.c @@ -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);