Skip to content

Commit cfc8aed

Browse files
Fix clinic
1 parent b6e3955 commit cfc8aed

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Modules/_sqlite/clinic/connection.c.h

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/_sqlite/connection.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ _sqlite3.Connection.blobopen as blobopen
578578
Table name.
579579
column as col: str
580580
Column name.
581-
rowid: sqlite3_int64
581+
rowid as row: sqlite3_int64
582582
Row id.
583583
/
584584
*
@@ -592,8 +592,8 @@ Open and return a BLOB object.
592592

593593
static PyObject *
594594
blobopen_impl(pysqlite_Connection *self, const char *table, const char *col,
595-
sqlite3_int64 rowid, int readonly, const char *name)
596-
/*[clinic end generated code: output=6a02d43efb885d1c input=23576bd1108d8774]*/
595+
sqlite3_int64 row, int readonly, const char *name)
596+
/*[clinic end generated code: output=6a02d43efb885d1c input=cc3d4b47dac08401]*/
597597
{
598598
if (!pysqlite_check_thread(self) || !pysqlite_check_connection(self)) {
599599
return NULL;
@@ -603,7 +603,7 @@ blobopen_impl(pysqlite_Connection *self, const char *table, const char *col,
603603
sqlite3_blob *blob;
604604

605605
Py_BEGIN_ALLOW_THREADS
606-
rc = sqlite3_blob_open(self->db, name, table, col, rowid, !readonly, &blob);
606+
rc = sqlite3_blob_open(self->db, name, table, col, row, !readonly, &blob);
607607
Py_END_ALLOW_THREADS
608608

609609
if (rc == SQLITE_MISUSE) {

0 commit comments

Comments
 (0)