commit | e7951976adc69c3290540fe5a1c6f65c374220bc | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Dec 16 23:58:15 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Dec 16 23:58:15 1997 +0000 |
tree | 57ffa2ec4c4a01f184c93727ec0e47967bc8b0ef | |
parent | 7988206c1cb8eed80b3b0e53cc5f754e61a129a1 [diff] |
Fix mysterious undetected error -- call to non-existant Py_Err_SetStr() which shoulda coulda woulda oughta been PyErr_SetString().
diff --git a/Modules/dlmodule.c b/Modules/dlmodule.c index 9d7ce71..76d0540 100644 --- a/Modules/dlmodule.c +++ b/Modules/dlmodule.c
@@ -230,7 +230,7 @@ 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; }