mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-43269: Clean up sqlite3 file scope (GH-24578)
This commit is contained in:
parent
d439fb304c
commit
bf838a6e7e
6 changed files with 37 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue