summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2015-05-08 14:37:49 (GMT)
committerLarry Hastings <larry@hastings.org>2015-05-08 14:37:49 (GMT)
commit01b08836021809de5423410f606495a2551f2aef (patch)
treebd9f22527b8a76cbd88f1c3db5e3393678de87c1
parent7e63b36f7f6975b3d7590fc1c12caf04c39b2e7e (diff)
downloadcpython-01b08836021809de5423410f606495a2551f2aef.zip
cpython-01b08836021809de5423410f606495a2551f2aef.tar.gz
cpython-01b08836021809de5423410f606495a2551f2aef.tar.bz2
Issue #20274: Remove ignored and erroneous "kwargs" parameters from three
METH_VARARGS methods on _sqlite.Connection.
-rw-r--r--Misc/NEWS3
-rw-r--r--Modules/_sqlite/connection.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 79c705c..d01f525 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.
diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c
index 2e8cab5..d390328 100644
--- a/Modules/_sqlite/connection.c
+++ b/Modules/_sqlite/connection.c
@@ -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;