Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 01b0883

Browse files
committed
Issue #20274: Remove ignored and erroneous "kwargs" parameters from three
METH_VARARGS methods on _sqlite.Connection.
1 parent 7e63b36 commit 01b0883

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Release date: tba
1010
Core and Builtins
1111
-----------------
1212

13+
- Issue #20274: Remove ignored and erroneous "kwargs" parameters from three
14+
METH_VARARGS methods on _sqlite.Connection.
15+
1316
- Issue #24096: Make warnings.warn_explicit more robust against mutation of the
1417
warnings.filters list.
1518

Modules/_sqlite/connection.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@ PyObject* pysqlite_connection_call(pysqlite_Connection* self, PyObject* args, Py
12871287
return NULL;
12881288
}
12891289

1290-
PyObject* pysqlite_connection_execute(pysqlite_Connection* self, PyObject* args, PyObject* kwargs)
1290+
PyObject* pysqlite_connection_execute(pysqlite_Connection* self, PyObject* args)
12911291
{
12921292
PyObject* cursor = 0;
12931293
PyObject* result = 0;
@@ -1316,7 +1316,7 @@ PyObject* pysqlite_connection_execute(pysqlite_Connection* self, PyObject* args,
13161316
return cursor;
13171317
}
13181318

1319-
PyObject* pysqlite_connection_executemany(pysqlite_Connection* self, PyObject* args, PyObject* kwargs)
1319+
PyObject* pysqlite_connection_executemany(pysqlite_Connection* self, PyObject* args)
13201320
{
13211321
PyObject* cursor = 0;
13221322
PyObject* result = 0;
@@ -1345,7 +1345,7 @@ PyObject* pysqlite_connection_executemany(pysqlite_Connection* self, PyObject* a
13451345
return cursor;
13461346
}
13471347

1348-
PyObject* pysqlite_connection_executescript(pysqlite_Connection* self, PyObject* args, PyObject* kwargs)
1348+
PyObject* pysqlite_connection_executescript(pysqlite_Connection* self, PyObject* args)
13491349
{
13501350
PyObject* cursor = 0;
13511351
PyObject* result = 0;

0 commit comments

Comments
 (0)