aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Modules/_sqlite/connection.c
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2020-09-27 14:14:50 +0200
committerGitHub <noreply@github.com>2020-09-27 14:14:50 +0200
commita937ab45d6af4f99ff16fec73d5d75d93c569456 (patch)
tree70d35f07786859efebeee60f9d3c959fcb97b021 /Modules/_sqlite/connection.c
parent00eb063b6600fdb4ba5cfb99da83cc1660ec69bf (diff)
downloadcpython-a937ab45d6af4f99ff16fec73d5d75d93c569456.tar.gz
cpython-a937ab45d6af4f99ff16fec73d5d75d93c569456.zip
bpo-41861: Convert _sqlite3 cache and node static types to heap types (GH-22417)
Diffstat (limited to 'Modules/_sqlite/connection.c')
-rw-r--r--Modules/_sqlite/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c
index 81fc1335371..121850ae7e1 100644
--- a/Modules/_sqlite/connection.c
+++ b/Modules/_sqlite/connection.c
@@ -133,7 +133,7 @@ int pysqlite_connection_init(pysqlite_Connection* self, PyObject* args, PyObject
}
Py_DECREF(isolation_level);
- self->statement_cache = (pysqlite_Cache*)PyObject_CallFunction((PyObject*)&pysqlite_CacheType, "Oi", self, cached_statements);
+ self->statement_cache = (pysqlite_Cache*)PyObject_CallFunction((PyObject*)pysqlite_CacheType, "Oi", self, cached_statements);
if (PyErr_Occurred()) {
return -1;
}