commit | e9194ea6eaa18299d6ccbd3555ce150fab0c6184 | [log] [tgz] |
---|---|---|
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | Fri Apr 23 13:21:08 2021 +0200 |
committer | GitHub <noreply@github.com> | Fri Apr 23 14:21:08 2021 +0300 |
tree | ec024c749bd04630e19c2bfc421e6ca000862be8 | |
parent | 927b841c215a1ca36c9b3203eadc67ce05b1ed07 [diff] [blame] |
bpo-43852: Improve tuple creation in sqlite3 (GH-25421)
diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c index 9336549..150291c 100644 --- a/Modules/_sqlite/connection.c +++ b/Modules/_sqlite/connection.c
@@ -592,8 +592,7 @@ _pysqlite_build_py_params(sqlite3_context *context, int argc, goto error; } - PyTuple_SetItem(args, i, cur_py_value); - + PyTuple_SET_ITEM(args, i, cur_py_value); } return args;