mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-44315: Remove unused connection argument from pysqlite_step() (GH-26535)
This commit is contained in:
parent
006fd869e4
commit
7459208de1
4 changed files with 8 additions and 7 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue