diff options
author | Erlend E. Aasland <erlend@python.org> | 2025-01-20 12:40:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-20 12:40:18 +0100 |
commit | 537296cdcdecae5c2322e809d01ec07f0cb79245 (patch) | |
tree | 478d297f90da93087a74be6ec35f7769bd577165 /Modules/_sqlite/cursor.c | |
parent | 4d0a6595a06c554c57ebd90ee64ff4c2bec239b8 (diff) | |
download | cpython-537296cdcdecae5c2322e809d01ec07f0cb79245.tar.gz cpython-537296cdcdecae5c2322e809d01ec07f0cb79245.zip |
gh-111178: Generate correct signature for most self converters (#128447)
Diffstat (limited to 'Modules/_sqlite/cursor.c')
-rw-r--r-- | Modules/_sqlite/cursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c index 0fbd408f18c..24e97fcf189 100644 --- a/Modules/_sqlite/cursor.c +++ b/Modules/_sqlite/cursor.c @@ -1155,7 +1155,7 @@ pysqlite_cursor_fetchone_impl(pysqlite_Cursor *self) /*[clinic input] _sqlite3.Cursor.fetchmany as pysqlite_cursor_fetchmany - size as maxrows: int(c_default='self->arraysize') = 1 + size as maxrows: int(c_default='((pysqlite_Cursor *)self)->arraysize') = 1 The default value is set by the Cursor.arraysize attribute. Fetches several rows from the resultset. @@ -1163,7 +1163,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=c26e6ca3f34debd0]*/ +/*[clinic end generated code: output=a8ef31fea64d0906 input=035dbe44a1005bf2]*/ { PyObject* row; PyObject* list; |