Fix mysterious undetected error -- call to non-existant Py_Err_SetStr()
which shoulda coulda woulda oughta been PyErr_SetString().
This commit is contained in:
parent
7988206c1c
commit
e7951976ad
|
@ -230,7 +230,7 @@ initdl()
|
|||
|
||||
if (sizeof(int) != sizeof(long) ||
|
||||
sizeof(long) != sizeof(char *)) {
|
||||
Py_Err_SetStr(
|
||||
PyErr_SetString(PyExc_SystemError,
|
||||
"module dl requires sizeof(int) == sizeof(long) == sizeof(char*)");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue