Skip to content
Open
Changes from 2 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
10 changes: 10 additions & 0 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,16 @@ Module constants

The ``named`` DB-API parameter style is also supported.

.. data:: Binary

A type object used to describe columns containing :abbr:`BLOB (Binary Large Object)` data.
Implemented as an alias for :class:`memoryview`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Add "this is" to make it a complete sentence.
  2. Mention that is the current behavior; we can change it in the future.
Suggested change
Implemented as an alias for :class:`memoryview`.
This is currently implemented as an alias for :class:`memoryview`.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was not changed and a reason why was not given? I will mark as unresolved.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer if we leave out implementation details like this from the docs.


.. note::

Binary data can also be stored and retrieved using bytes-like objects
directly without using :data:`!Binary`. This is the current behavior.

.. data:: sqlite_version

Version number of the runtime SQLite library as a :class:`string <str>`.
Expand Down
Loading