diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-02-21 00:29:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-21 00:29:19 (GMT) |
commit | bf838a6e7eec2063a17c7c33dfa94afeef116f36 (patch) | |
tree | 4a2354282efb10753e55d977edf34e56e07de428 /Modules/_sqlite/cursor.c | |
parent | d439fb304ca3098aab1ed0a314996f9d29347b21 (diff) | |
download | cpython-bf838a6e7eec2063a17c7c33dfa94afeef116f36.zip cpython-bf838a6e7eec2063a17c7c33dfa94afeef116f36.tar.gz cpython-bf838a6e7eec2063a17c7c33dfa94afeef116f36.tar.bz2 |
bpo-43269: Clean up sqlite3 file scope (GH-24578)
Diffstat (limited to 'Modules/_sqlite/cursor.c')
-rw-r--r-- | Modules/_sqlite/cursor.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c index d1578ad..9058aab 100644 --- a/Modules/_sqlite/cursor.c +++ b/Modules/_sqlite/cursor.c @@ -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; |