Skip to content

Commit c42bbd5

Browse files
change arg
1 parent 4bcb82c commit c42bbd5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Modules/_sqlite/clinic/connection.c.h

Lines changed: 4 additions & 4 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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2248,7 +2248,7 @@ _sqlite3.Connection.file_control as pysqlite_connection_file_control
22482248
22492249
op: int
22502250
The SQLITE_FCNTL_* constant to invoke.
2251-
arg: long
2251+
arg: int
22522252
The argument to pass to the operation.
22532253
/
22542254
name: str = "main"
@@ -2259,8 +2259,8 @@ Invoke a file control method on the database.
22592259

22602260
static PyObject *
22612261
pysqlite_connection_file_control_impl(pysqlite_Connection *self, int op,
2262-
long arg, const char *name)
2263-
/*[clinic end generated code: output=ab3230aaca500391 input=506d31506027e9ce]*/
2262+
int arg, const char *name)
2263+
/*[clinic end generated code: output=8a9f04093fc1f59c input=3833150b82ba5488]*/
22642264
{
22652265
if(!is_int_fcntl(op)) {
22662266
PyErr_Format(PyExc_ValueError, "unknown file control 'op': %d", op);

0 commit comments

Comments
 (0)