diff options
author | Larry Hastings <larry@hastings.org> | 2015-05-08 14:37:49 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2015-05-08 14:37:49 (GMT) |
commit | 01b08836021809de5423410f606495a2551f2aef (patch) | |
tree | bd9f22527b8a76cbd88f1c3db5e3393678de87c1 | |
parent | 7e63b36f7f6975b3d7590fc1c12caf04c39b2e7e (diff) | |
download | cpython-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/NEWS | 3 | ||||
-rw-r--r-- | Modules/_sqlite/connection.c | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -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; |