Skip to content

[3.11] gh-94622: Add more references to the sqlite3 types anchor (GH-94623) #94678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2022
Merged
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
16 changes: 8 additions & 8 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,8 @@ Connection Objects
SQLite 3.8.3 or higher, :exc:`NotSupportedError` will be raised if used
with older versions.

The function can return any of the types supported by SQLite: bytes, str, int,
float and ``None``.
The function can return any of
:ref:`the types natively supported by SQLite <sqlite3-types>`.

.. versionchanged:: 3.8
The *deterministic* parameter was added.
Expand All @@ -506,8 +506,8 @@ Connection Objects
any number of arguments), and a ``finalize`` method which will return the
final result of the aggregate.

The ``finalize`` method can return any of the types supported by SQLite:
bytes, str, int, float and ``None``.
The ``finalize`` method can return any of
:ref:`the types natively supported by SQLite <sqlite3-types>`.

Example:

Expand All @@ -527,10 +527,10 @@ Connection Objects

``step`` and ``value`` accept *num_params* number of parameters,
unless *num_params* is ``-1``, in which case they may take any number of
arguments. ``finalize`` and ``value`` can return any of the types
supported by SQLite:
:class:`bytes`, :class:`str`, :class:`int`, :class:`float`, and
:const:`None`. Call :meth:`create_window_function` with
arguments.
``finalize`` and ``value`` can return any of
:ref:`the types natively supported by SQLite <sqlite3-types>`.
Call :meth:`create_window_function` with
*aggregate_class* set to :const:`None` to clear window function *name*.

Aggregate window functions are supported by SQLite 3.25.0 and higher.
Expand Down