bpo-43269: Clean up sqlite3 file scope (GH-24578)

This commit is contained in:
Erlend Egeberg Aasland 2021-02-21 01:29:19 +01:00 committed by GitHub
parent d439fb304c
commit bf838a6e7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 37 additions and 19 deletions

View file

@ -32,8 +32,6 @@ class _sqlite3.Cursor "pysqlite_Cursor *" "pysqlite_CursorType"
[clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=b2072d8db95411d5]*/
PyObject* pysqlite_cursor_iternext(pysqlite_Cursor* self);
static const char errmsg_fetch_across_rollback[] = "Cursor needed to be reset because of commit/rollback and can no longer be fetched from.";
/*[clinic input]
@ -746,7 +744,8 @@ error:
}
}
PyObject* pysqlite_cursor_iternext(pysqlite_Cursor *self)
static PyObject *
pysqlite_cursor_iternext(pysqlite_Cursor *self)
{
PyObject* next_row_tuple;
PyObject* next_row;