Implement upstream python/cpython#14386
This commit is contained in:
parent
e113883eab
commit
51ef96fdf4
5 changed files with 8 additions and 16 deletions
|
|
@ -1376,7 +1376,7 @@ PyObject* pysqlite_connection_call(pysqlite_Connection* self, PyObject* args, Py
|
|||
if (!_PyArg_NoKeywords(MODULE_NAME ".Connection", kwargs))
|
||||
return NULL;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "O", &sql))
|
||||
if (!PyArg_ParseTuple(args, "U", &sql))
|
||||
return NULL;
|
||||
|
||||
_pysqlite_drop_unused_statement_references(self);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue