Skip to content

Commit 35dd550

Browse files
authoredFeb 8, 2023
gh-101670: typo fix in PyImport_AppendInittab() (GH-101672)
1 parent 86ebd5c commit 35dd550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Python/import.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2699,7 +2699,7 @@ PyImport_AppendInittab(const char *name, PyObject* (*initfunc)(void))
26992699
struct _inittab newtab[2];
27002700

27012701
if (_PyRuntime.imports.inittab != NULL) {
2702-
Py_FatalError("PyImport_AppendInittab() may be be called after Py_Initialize()");
2702+
Py_FatalError("PyImport_AppendInittab() may not be called after Py_Initialize()");
27032703
}
27042704

27052705
memset(newtab, '\0', sizeof newtab);

0 commit comments

Comments
 (0)
Please sign in to comment.