aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/import.c
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2023-02-08 18:49:04 +0300
committerGitHub <noreply@github.com>2023-02-08 07:49:04 -0800
commit35dd55005ee9aea2843eff7f514ee689a0995df8 (patch)
treeae638d7314e8ab22b2d126057f0383d6b5662494 /Python/import.c
parent86ebd5c3fa9ac0fba3b651f1d4abfca79614af5f (diff)
downloadcpython-35dd55005ee9aea2843eff7f514ee689a0995df8.tar.gz
cpython-35dd55005ee9aea2843eff7f514ee689a0995df8.zip
gh-101670: typo fix in PyImport_AppendInittab() (GH-101672)
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index 1318c09d9b3..795d3689664 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);