diff options
author | Erlend Egeberg Aasland <erlend.aasland@innova.no> | 2021-02-21 01:29:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-21 02:29:19 +0200 |
commit | bf838a6e7eec2063a17c7c33dfa94afeef116f36 (patch) | |
tree | 4a2354282efb10753e55d977edf34e56e07de428 /Modules/_sqlite/row.c | |
parent | d439fb304ca3098aab1ed0a314996f9d29347b21 (diff) | |
download | cpython-git-bf838a6e7eec2063a17c7c33dfa94afeef116f36.tar.gz |
bpo-43269: Clean up sqlite3 file scope (GH-24578)
Diffstat (limited to 'Modules/_sqlite/row.c')
-rw-r--r-- | Modules/_sqlite/row.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/_sqlite/row.c b/Modules/_sqlite/row.c index 04e308fa1c..97a5a17ada 100644 --- a/Modules/_sqlite/row.c +++ b/Modules/_sqlite/row.c @@ -31,7 +31,8 @@ class _sqlite3.Row "pysqlite_Row *" "pysqlite_RowType" [clinic start generated code]*/ /*[clinic end generated code: output=da39a3ee5e6b4b0d input=384227da65f250fd]*/ -void pysqlite_row_dealloc(pysqlite_Row* self) +static void +pysqlite_row_dealloc(pysqlite_Row *self) { PyTypeObject *tp = Py_TYPE(self); @@ -105,7 +106,8 @@ equal_ignore_case(PyObject *left, PyObject *right) return 1; } -PyObject* pysqlite_row_subscript(pysqlite_Row* self, PyObject* idx) +static PyObject * +pysqlite_row_subscript(pysqlite_Row *self, PyObject *idx) { Py_ssize_t _idx; Py_ssize_t nitems, i; |