Skip to content

Commit

Permalink
gh-101670: typo fix in PyImport_ExtendInittab() (#101723)
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
  • Loading branch information
skirpichev and ericsnowcurrently authored Feb 9, 2023
1 parent ecfd2d3 commit cb24118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/import.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit cb24118

Please sign in to comment.