diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-05-31 08:24:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 08:24:56 (GMT) |
commit | d1124b09e8251061dc040cbd396f35ae57783f4a (patch) | |
tree | c2817d08e92a824e483248bee71491f70119306a /Modules/_sqlite/row.c | |
parent | 4b20f2574d412f4c4a5b1ab799d8e71a5dd3b766 (diff) | |
download | cpython-d1124b09e8251061dc040cbd396f35ae57783f4a.zip cpython-d1124b09e8251061dc040cbd396f35ae57783f4a.tar.gz cpython-d1124b09e8251061dc040cbd396f35ae57783f4a.tar.bz2 |
bpo-42972: Fix sqlite3 traverse/clear functions (GH-26452)
Diffstat (limited to 'Modules/_sqlite/row.c')
-rw-r--r-- | Modules/_sqlite/row.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/row.c b/Modules/_sqlite/row.c index af8be80..24722be 100644 --- a/Modules/_sqlite/row.c +++ b/Modules/_sqlite/row.c @@ -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; } |