mirror of
https://github.com/python/cpython.git
synced 2025-12-05 00:52:25 +00:00
Fix mysterious undetected error -- call to non-existant Py_Err_SetStr()
which shoulda coulda woulda oughta been PyErr_SetString().
This commit is contained in:
parent
7988206c1c
commit
e7951976ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue