Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ Connection objects
supplied, this must be a :term:`callable` returning
an instance of :class:`Cursor` or its subclasses.

.. method:: blobopen(table, column, row, /, *, readonly=False, name="main")
.. method:: blobopen(table, column, rowid, /, *, readonly=False, name="main")

Open a :class:`Blob` handle to an existing
:abbr:`BLOB (Binary Large OBject)`.
Expand All @@ -631,8 +631,8 @@ Connection objects
:param str column:
The name of the column where the blob is located.

:param str row:
The name of the row where the blob is located.
:param int rowid:
The row id where the blob is located.

:param bool readonly:
Set to ``True`` if the blob should be opened without write
Expand Down
8 changes: 4 additions & 4 deletions Modules/_sqlite/clinic/connection.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Modules/_sqlite/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -578,8 +578,8 @@ _sqlite3.Connection.blobopen as blobopen
Table name.
column as col: str
Column name.
row: sqlite3_int64
Row index.
rowid as row: sqlite3_int64
Row id.
/
*
readonly: bool = False
Expand All @@ -593,7 +593,7 @@ Open and return a BLOB object.
static PyObject *
blobopen_impl(pysqlite_Connection *self, const char *table, const char *col,
sqlite3_int64 row, int readonly, const char *name)
/*[clinic end generated code: output=6a02d43efb885d1c input=23576bd1108d8774]*/
/*[clinic end generated code: output=6a02d43efb885d1c input=cc3d4b47dac08401]*/
{
if (!pysqlite_check_thread(self) || !pysqlite_check_connection(self)) {
return NULL;
Expand Down
Loading