bpo-43269: Clean up sqlite3 file scope (GH-24578)

This commit is contained in:
Erlend Egeberg Aasland 2021-02-21 01:29:19 +01:00 committed by GitHub
parent d439fb304c
commit bf838a6e7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 37 additions and 19 deletions

View file

@ -368,7 +368,8 @@ void pysqlite_statement_mark_dirty(pysqlite_Statement* self)
self->in_use = 1;
}
void pysqlite_statement_dealloc(pysqlite_Statement* self)
static void
pysqlite_statement_dealloc(pysqlite_Statement *self)
{
PyTypeObject *tp = Py_TYPE(self);