Skip to content

Commit 1a23ed0

Browse files
committed
Fix unrepresentable Argument Clinic default for sqlite3.Connection.execute()
1 parent dffac61 commit 1a23ed0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Modules/_sqlite/clinic/connection.c.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/_sqlite/connection.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ pysqlite_connection_call(PyObject *op, PyObject *args, PyObject *kwargs)
18721872
_sqlite3.Connection.execute as pysqlite_connection_execute
18731873
18741874
sql: unicode
1875-
parameters: object = NULL
1875+
parameters: object(c_default = 'NULL') = ()
18761876
/
18771877
18781878
Executes an SQL statement.
@@ -1881,7 +1881,7 @@ Executes an SQL statement.
18811881
static PyObject *
18821882
pysqlite_connection_execute_impl(pysqlite_Connection *self, PyObject *sql,
18831883
PyObject *parameters)
1884-
/*[clinic end generated code: output=5be05ae01ee17ee4 input=27aa7792681ddba2]*/
1884+
/*[clinic end generated code: output=5be05ae01ee17ee4 input=847390a17de45cc7]*/
18851885
{
18861886
PyObject* result = 0;
18871887

0 commit comments

Comments
 (0)