summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2023-02-09 16:49:02 (GMT)
committerGitHub <noreply@github.com>2023-02-09 16:49:02 (GMT)
commitcb2411886a181d25e0cff2c870f331d2949874d5 (patch)
treed85e99bb7d99d1aaddfae947ad71f0769fb50d45 /Python
parentecfd2d37c529c1952dc11fabe1758156924de67a (diff)
downloadcpython-cb2411886a181d25e0cff2c870f331d2949874d5.zip
cpython-cb2411886a181d25e0cff2c870f331d2949874d5.tar.gz
cpython-cb2411886a181d25e0cff2c870f331d2949874d5.tar.bz2
gh-101670: typo fix in PyImport_ExtendInittab() (#101723)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c
index 795d368..302255d 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -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 */