mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -266,7 +266,7 @@ _pysqlite_fetch_one_row(pysqlite_Cursor* self)
|
|||
item = PyBytes_FromStringAndSize(val_str, nbytes);
|
||||
if (!item)
|
||||
goto error;
|
||||
converted = PyObject_CallFunction(converter, "O", item);
|
||||
converted = _PyObject_CallOneArg(converter, item);
|
||||
Py_DECREF(item);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue