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

View file

@ -230,7 +230,7 @@ initdl()
if (sizeof(int) != sizeof(long) || if (sizeof(int) != sizeof(long) ||
sizeof(long) != sizeof(char *)) { sizeof(long) != sizeof(char *)) {
Py_Err_SetStr( PyErr_SetString(PyExc_SystemError,
"module dl requires sizeof(int) == sizeof(long) == sizeof(char*)"); "module dl requires sizeof(int) == sizeof(long) == sizeof(char*)");
return; return;
} }