mirror of
https://github.com/python/cpython.git
synced 2025-07-19 17:25:54 +00:00
gh-101670: typo fix in PyImport_AppendInittab() (GH-101672)
This commit is contained in:
parent
86ebd5c3fa
commit
35dd55005e
1 changed files with 1 additions and 1 deletions
|
@ -2699,7 +2699,7 @@ PyImport_AppendInittab(const char *name, PyObject* (*initfunc)(void))
|
|||
struct _inittab newtab[2];
|
||||
|
||||
if (_PyRuntime.imports.inittab != NULL) {
|
||||
Py_FatalError("PyImport_AppendInittab() may be be called after Py_Initialize()");
|
||||
Py_FatalError("PyImport_AppendInittab() may not be called after Py_Initialize()");
|
||||
}
|
||||
|
||||
memset(newtab, '\0', sizeof newtab);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue