mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
bpo-37483: add _PyObject_CallOneArg() function (#14558)
This commit is contained in:
parent
9d40554e0d
commit
196a530e00
44 changed files with 128 additions and 146 deletions
|
@ -1874,7 +1874,7 @@ main_loop:
|
|||
Py_DECREF(value);
|
||||
goto error;
|
||||
}
|
||||
res = PyObject_CallFunctionObjArgs(hook, value, NULL);
|
||||
res = _PyObject_CallOneArg(hook, value);
|
||||
Py_DECREF(value);
|
||||
if (res == NULL)
|
||||
goto error;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue