]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101670: typo fix in PyImport_AppendInittab() (GH-101672)
authorSergey B Kirpichev <skirpichev@gmail.com>
Wed, 8 Feb 2023 15:49:04 +0000 (18:49 +0300)
committerGitHub <noreply@github.com>
Wed, 8 Feb 2023 15:49:04 +0000 (07:49 -0800)
Python/import.c

index 1318c09d9b3212fd918c30472faedccce55efda7..795d368966481eda2b083187203c7b91f5d41f19 100644 (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);