Issue #20274: Remove ignored and erroneous "kwargs" parameters from three

METH_VARARGS methods on _sqlite.Connection.
This commit is contained in:
Larry Hastings 2015-05-08 07:37:49 -07:00
parent 7e63b36f7f
commit 01b0883602
2 changed files with 6 additions and 3 deletions

View File

@ -10,6 +10,9 @@ Release date: tba
Core and Builtins
-----------------
- Issue #20274: Remove ignored and erroneous "kwargs" parameters from three
METH_VARARGS methods on _sqlite.Connection.
- Issue #24096: Make warnings.warn_explicit more robust against mutation of the
warnings.filters list.

View File

@ -1287,7 +1287,7 @@ error:
return NULL;
}
PyObject* pysqlite_connection_execute(pysqlite_Connection* self, PyObject* args, PyObject* kwargs)
PyObject* pysqlite_connection_execute(pysqlite_Connection* self, PyObject* args)
{
PyObject* cursor = 0;
PyObject* result = 0;
@ -1316,7 +1316,7 @@ error:
return cursor;
}
PyObject* pysqlite_connection_executemany(pysqlite_Connection* self, PyObject* args, PyObject* kwargs)
PyObject* pysqlite_connection_executemany(pysqlite_Connection* self, PyObject* args)
{
PyObject* cursor = 0;
PyObject* result = 0;
@ -1345,7 +1345,7 @@ error:
return cursor;
}
PyObject* pysqlite_connection_executescript(pysqlite_Connection* self, PyObject* args, PyObject* kwargs)
PyObject* pysqlite_connection_executescript(pysqlite_Connection* self, PyObject* args)
{
PyObject* cursor = 0;
PyObject* result = 0;