Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Modules/_sqlite/clinic/cursor.c.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ pysqlite_cursor_fetchone(pysqlite_Cursor *self, PyObject *Py_UNUSED(ignored))
}

PyDoc_STRVAR(pysqlite_cursor_fetchmany__doc__,
"fetchmany($self, /, size=cursor.arraysize)\n"
"fetchmany($self, /, size=<unrepresentable>)\n"
"--\n"
"\n"
"Fetches several rows from the resultset.");
Expand Down Expand Up @@ -256,4 +256,4 @@ pysqlite_cursor_close(pysqlite_Cursor *self, PyObject *Py_UNUSED(ignored))
{
return pysqlite_cursor_close_impl(self);
}
/*[clinic end generated code: output=11db0de4fb1951a9 input=a9049054013a1b77]*/
/*[clinic end generated code: output=8b5ffd9029d33cd8 input=a9049054013a1b77]*/
4 changes: 2 additions & 2 deletions Modules/_sqlite/cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -822,14 +822,14 @@ pysqlite_cursor_fetchone_impl(pysqlite_Cursor *self)
/*[clinic input]
_sqlite3.Cursor.fetchmany as pysqlite_cursor_fetchmany

size as maxrows: int(c_default='self->arraysize') = cursor.arraysize
size as maxrows: int(c_default='self->arraysize', py_default='<unrepresentable>') = 1

Fetches several rows from the resultset.
[clinic start generated code]*/

static PyObject *
pysqlite_cursor_fetchmany_impl(pysqlite_Cursor *self, int maxrows)
/*[clinic end generated code: output=a8ef31fea64d0906 input=d80ff999a7701ffb]*/
/*[clinic end generated code: output=a8ef31fea64d0906 input=e436f4f150e78b9b]*/
{
PyObject* row;
PyObject* list;
Expand Down