summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
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;
}