Skip to content

Commit cb24118

Browse files
gh-101670: typo fix in PyImport_ExtendInittab() (#101723)
Co-authored-by: Eric Snow <[email protected]>
1 parent ecfd2d3 commit cb24118

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
@@ -2651,7 +2651,7 @@ PyImport_ExtendInittab(struct _inittab *newtab)
26512651
int res = 0;
26522652

26532653
if (_PyRuntime.imports.inittab != NULL) {
2654-
Py_FatalError("PyImport_ExtendInittab() may be be called after Py_Initialize()");
2654+
Py_FatalError("PyImport_ExtendInittab() may not be called after Py_Initialize()");
26552655
}
26562656

26572657
/* Count the number of entries in both tables */

0 commit comments

Comments
 (0)