Berker Peksag added the comment: I think the name "parameters" causes a confusion here. It basically means
def execute(sql, parameters): not def execute(sql, *parameters): So ``con.execute('insert into foo values (?, ?)', (4, 5))`` is the correct usage of the API. Also, this looks like a duplicate of issue 20364. ---------- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Rename & explain sqlite3.Cursor.execute 'parameters' param _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18691> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com