diff options
author | Guido van Rossum <guido@python.org> | 1997-12-16 23:58:15 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-12-16 23:58:15 (GMT) |
commit | e7951976adc69c3290540fe5a1c6f65c374220bc (patch) | |
tree | 57ffa2ec4c4a01f184c93727ec0e47967bc8b0ef /Modules/dlmodule.c | |
parent | 7988206c1cb8eed80b3b0e53cc5f754e61a129a1 (diff) | |
download | cpython-e7951976adc69c3290540fe5a1c6f65c374220bc.zip cpython-e7951976adc69c3290540fe5a1c6f65c374220bc.tar.gz cpython-e7951976adc69c3290540fe5a1c6f65c374220bc.tar.bz2 |
Fix mysterious undetected error -- call to non-existant Py_Err_SetStr()
which shoulda coulda woulda oughta been PyErr_SetString().
Diffstat (limited to 'Modules/dlmodule.c')
-rw-r--r-- | Modules/dlmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; } |