]> granicus.if.org Git - python/commitdiff
Issue #20274: Remove ignored and erroneous "kwargs" parameters from three
authorLarry Hastings <larry@hastings.org>
Fri, 8 May 2015 14:37:49 +0000 (07:37 -0700)
committerLarry Hastings <larry@hastings.org>
Fri, 8 May 2015 14:37:49 +0000 (07:37 -0700)
METH_VARARGS methods on _sqlite.Connection.

Misc/NEWS
Modules/_sqlite/connection.c

index 79c705cd5b8c23b7ad59e11fab786b73d95740cd..d01f52533f006c03351a98b553f838a1a05ea057 100644 (file)
--- 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.
 
index 2e8cab5554be638d687fb1ce2c077cc4423d93d8..d3903286c8170de944c60d07d2dc1866be03e47b 100644 (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;