Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 35dd550

Browse filesBrowse files
authored
pythongh-101670: typo fix in PyImport_AppendInittab() (pythonGH-101672)
1 parent 86ebd5c commit 35dd550
Copy full SHA for 35dd550

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Python/import.c

Copy file name to clipboardExpand all lines: Python/import.c
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.