Skip to content

Commit 73a1800

Browse files
[3.11] gh-94622: Add more references to the sqlite3 types anchor (GH-94623) (#94678)
(cherry picked from commit e5b841a) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
1 parent c72001e commit 73a1800

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
@@ -486,8 +486,8 @@ Connection Objects
486486
SQLite 3.8.3 or higher, :exc:`NotSupportedError` will be raised if used
487487
with older versions.
488488

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

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

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

512512
Example:
513513

@@ -527,10 +527,10 @@ Connection Objects
527527

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

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

0 commit comments

Comments
 (0)