diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2020-10-01 13:24:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 13:24:31 (GMT) |
commit | 9031bd4fa42dbb0f25aee9286154ad4bf60df3f8 (patch) | |
tree | ec8661b20d139b51b2d60e512502cbbe804d36a0 /Modules/_sqlite/cursor.c | |
parent | fa7ce080175f65d678a7d5756c94f82887fc9803 (diff) | |
download | cpython-9031bd4fa42dbb0f25aee9286154ad4bf60df3f8.zip cpython-9031bd4fa42dbb0f25aee9286154ad4bf60df3f8.tar.gz cpython-9031bd4fa42dbb0f25aee9286154ad4bf60df3f8.tar.bz2 |
bpo-41861: Convert _sqlite3 RowType and StatementType to heap types (GH-22444)
Diffstat (limited to 'Modules/_sqlite/cursor.c')
-rw-r--r-- | Modules/_sqlite/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c index 5cfb4b9..dbbdb12 100644 --- a/Modules/_sqlite/cursor.c +++ b/Modules/_sqlite/cursor.c @@ -472,7 +472,7 @@ _pysqlite_query_execute(pysqlite_Cursor* self, int multiple, PyObject* args) if (self->statement->in_use) { Py_SETREF(self->statement, - PyObject_New(pysqlite_Statement, &pysqlite_StatementType)); + PyObject_New(pysqlite_Statement, pysqlite_StatementType)); if (!self->statement) { goto error; } |