aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/import.c
diff options
context:
space:
mode:
authorSergey B Kirpichev <skirpichev@gmail.com>2023-02-09 19:49:02 +0300
committerGitHub <noreply@github.com>2023-02-09 18:49:02 +0200
commitcb2411886a181d25e0cff2c870f331d2949874d5 (patch)
treed85e99bb7d99d1aaddfae947ad71f0769fb50d45 /Python/import.c
parentecfd2d37c529c1952dc11fabe1758156924de67a (diff)
downloadcpython-cb2411886a181d25e0cff2c870f331d2949874d5.tar.gz
cpython-cb2411886a181d25e0cff2c870f331d2949874d5.zip
gh-101670: typo fix in PyImport_ExtendInittab() (#101723)
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
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 795d3689664..302255d76ed 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 */