10000 Cast · python/cpython@a5f6454 · GitHub
[go: up one dir, main page]

Skip to content

Commit a5f6454

Browse files
Cast
1 parent 0956795 commit a5f6454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_sqlite/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ connection_close(pysqlite_Connection *self)
452452
remove_callbacks(self->db);
453453
}
454454
if (connection_exec_stmt(self, "ROLLBACK") < 0) {
455-
PyErr_WriteUnraisable(self);
455+
PyErr_WriteUnraisable((PyObject *)self);
456456
}
457457
}
458458

0 commit comments

Comments
 (0)
0