summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-16 23:58:15 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-16 23:58:15 (GMT)
commite7951976adc69c3290540fe5a1c6f65c374220bc (patch)
tree57ffa2ec4c4a01f184c93727ec0e47967bc8b0ef /Modules
parent7988206c1cb8eed80b3b0e53cc5f754e61a129a1 (diff)
downloadcpython-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')
-rw-r--r--Modules/dlmodule.c2
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;
}