Skip to content

Commit e5b841a

Browse files
gh-94622: Add more references to the sqlite3 types anchor (#94623)
1 parent fb6dcca commit e5b841a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Doc/library/sqlite3.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -496,8 +496,8 @@ Connection Objects
496496
SQLite 3.8.3 or higher, :exc:`NotSupportedError` will be raised if used
497497
with older versions.
498498

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

502502
.. versionchanged:: 3.8
503503
The *deterministic* parameter was added.
@@ -516,8 +516,8 @@ Connection Objects
516516
any number of arguments), and a ``finalize`` method which will return the
517517
final result of the aggregate.
518518

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

522522
Example:
523523

@@ -537,10 +537,10 @@ Connection Objects
537537

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

546546
Aggregate window functions are supported by SQLite 3.25.0 and higher.

0 commit comments

Comments
 (0)