diff options
author | Erlend Egeberg Aasland <erlend.aasland@protonmail.com> | 2022-07-08 00:38:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-08 00:38:38 (GMT) |
commit | e5b841a4037d1c2ce3d12a584facf800ae36332a (patch) | |
tree | d5dba3cee384bdd2a2588136a120a02113a8be1a | |
parent | fb6dccae348b954d9f625031b54711a9a33da525 (diff) | |
download | cpython-e5b841a4037d1c2ce3d12a584facf800ae36332a.zip cpython-e5b841a4037d1c2ce3d12a584facf800ae36332a.tar.gz cpython-e5b841a4037d1c2ce3d12a584facf800ae36332a.tar.bz2 |
gh-94622: Add more references to the sqlite3 types anchor (#94623)
-rw-r--r-- | Doc/library/sqlite3.rst | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 2f4e2ae..bdff071 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -496,8 +496,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. @@ -516,8 +516,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: @@ -537,10 +537,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. |