Fix mysterious undetected error -- call to non-existant Py_Err_SetStr()

which shoulda coulda woulda oughta been PyErr_SetString().
This commit is contained in:
Guido van Rossum 1997-12-16 23:58:15 +00:00
parent 7988206c1c
commit e7951976ad
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}