]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101670: typo fix in PyImport_ExtendInittab() (#101723)
authorSergey B Kirpichev <skirpichev@gmail.com>
Thu, 9 Feb 2023 16:49:02 +0000 (19:49 +0300)
committerGitHub <noreply@github.com>
Thu, 9 Feb 2023 16:49:02 +0000 (18:49 +0200)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Python/import.c

index 795d368966481eda2b083187203c7b91f5d41f19..302255d76edcd5b884bdb9827f0dfc44d85daae5 100644 (file)
@@ -2651,7 +2651,7 @@ PyImport_ExtendInittab(struct _inittab *newtab)
     int res = 0;
 
     if (_PyRuntime.imports.inittab != NULL) {
-        Py_FatalError("PyImport_ExtendInittab() may be be called after Py_Initialize()");
+        Py_FatalError("PyImport_ExtendInittab() may not be called after Py_Initialize()");
     }
 
     /* Count the number of entries in both tables */