From 490ce1881808f7b92411899e00f1de141bfe74e5 Mon Sep 17 00:00:00 2001 From: Sergey B Kirpichev Date: Wed, 8 Feb 2023 05:36:24 +0300 Subject: [PATCH] gh-101670: typo fix in PyImport_AppendInittab() --- Python/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/import.c b/Python/import.c index da6c15c5fd4144..91e74126272743 100644 --- a/Python/import.c +++ b/Python/import.c @@ -2692,7 +2692,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);