bpo-42972: Fix sqlite3 traverse/clear functions (GH-26452)

This commit is contained in:
Erlend Egeberg Aasland 2021-05-31 10:24:56 +02:00 • committed by GitHub
parent 4b20f2574d
commit d1124b09e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 47 additions and 44 deletions

View file

@ -42,9 +42,9 @@ row_clear(pysqlite_Row *self)
static int
row_traverse(pysqlite_Row *self, visitproc visit, void *arg)
{
Py_VISIT(Py_TYPE(self));
Py_VISIT(self->data);
Py_VISIT(self->description);
Py_VISIT(Py_TYPE(self));
return 0;
}