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
Prev Previous commit
Next Next commit
Update clinic
  • Loading branch information
Erlend E. Aasland committed Jan 13, 2021
commit 589db0ba2666bfef901484f0d6114c56c022e4ea
4 changes: 2 additions & 2 deletions Modules/_sqlite/clinic/cursor.c.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ PyDoc_STRVAR(pysqlite_cursor_fetchmany__doc__,
"Fetches several rows from the resultset.\n"
"\n"
" size\n"
" The number of rows to fetch. Defaults to the cursor\'s arraysize.");
" The default value is set by the Cursor.arraysize attribute.");

#define PYSQLITE_CURSOR_FETCHMANY_METHODDEF \
{"fetchmany", (PyCFunction)(void(*)(void))pysqlite_cursor_fetchmany, METH_FASTCALL|METH_KEYWORDS, pysqlite_cursor_fetchmany__doc__},
Expand Down Expand Up @@ -259,4 +259,4 @@ pysqlite_cursor_close(pysqlite_Cursor *self, PyObject *Py_UNUSED(ignored))
{
return pysqlite_cursor_close_impl(self);
}
/*[clinic end generated code: output=f4849063bed630ba input=a9049054013a1b77]*/
/*[clinic end generated code: output=5699aeda4c7577ab input=a9049054013a1b77]*/
2 changes: 1 addition & 1 deletion Modules/_sqlite/cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ Fetches several rows from the resultset.

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