diff options
author | 2019-07-11 17:57:32 +0200 | |
---|---|---|
committer | 2019-07-12 00:57:32 +0900 | |
commit | 1dbd084f1f68d7293718b663df675cfbd0c65712 (patch) | |
tree | 134dd51d1364168e6f55f6dae348213dbdd136d7 /Modules/signalmodule.c | |
parent | bpo-36390: simplify classifyws(), rename it and add unit tests (GH-14500) (diff) | |
download | cpython-1dbd084f1f68d7293718b663df675cfbd0c65712.tar.gz cpython-1dbd084f1f68d7293718b663df675cfbd0c65712.tar.bz2 cpython-1dbd084f1f68d7293718b663df675cfbd0c65712.zip |
bpo-29548: no longer use PyEval_Call* functions (GH-14683)
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r-- | Modules/signalmodule.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 7698984ff3a..95569b931d6 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -1667,8 +1667,7 @@ _PyErr_CheckSignals(void) _Py_atomic_store_relaxed(&Handlers[i].tripped, 0); if (arglist) { - result = PyEval_CallObject(Handlers[i].func, - arglist); + result = PyObject_Call(Handlers[i].func, arglist, NULL); Py_DECREF(arglist); } if (!result) { |