File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1112,7 +1112,8 @@ Blob Objects
1112
1112
.. class :: Blob
1113
1113
1114
1114
A :class: `Blob ` instance is a :term: `file-like object ` that can read and write
1115
- data in an SQLite :abbr: `BLOB ( Binary Large OBject ) `.
1115
+ data in an SQLite :abbr: `BLOB ( Binary Large OBject ) `. Call ``len(blob) `` to
1116
+ get the size (number of bytes) of the blob.
1116
1117
1117
1118
.. method :: close()
1118
1119
@@ -1122,10 +1123,6 @@ Blob Objects
1122
1123
:class: `~sqlite3.Error ` (or subclass) exception will be raised if any
1123
1124
further operation is attempted with the blob.
1124
1125
1125
- .. method :: __len__()
1126
-
1127
- Return the blob size in bytes.
1128
-
1129
1126
.. method :: read(length=-1, /)
1130
1127
1131
1128
Read *length * bytes of data from the blob at the current offset position.
You can’t perform that action at this time.
0 commit comments