bpo-44315: Remove unused connection argument from pysqlite_step() (GH-26535)

This commit is contained in:
Erlend Egeberg Aasland 2021-06-04 22:42:20 +02:00 committed by GitHub
parent 006fd869e4
commit 7459208de1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 7 deletions

View file

@ -432,7 +432,7 @@ pysqlite_connection_commit_impl(pysqlite_Connection *self)
goto error;
}
rc = pysqlite_step(statement, self);
rc = pysqlite_step(statement);
if (rc != SQLITE_DONE) {
_pysqlite_seterror(self->db);
}
@ -482,7 +482,7 @@ pysqlite_connection_rollback_impl(pysqlite_Connection *self)
goto error;
}
rc = pysqlite_step(statement, self);
rc = pysqlite_step(statement);
if (rc != SQLITE_DONE) {
_pysqlite_seterror(self->db);
}