]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] gh-94622: Add more references to the sqlite3 types anchor (GH-94623). (#94679)
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>
Fri, 8 Jul 2022 00:50:12 +0000 (02:50 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Jul 2022 00:50:12 +0000 (02:50 +0200)
(cherry picked from commit e5b841a4037d1c2ce3d12a584facf800ae36332a)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Doc/library/sqlite3.rst

index e666b69e4490b97150f41ceccf7f6d2c92d8d859..7030059609ff9ea27c6df385478becc6019e3742 100644 (file)
@@ -433,8 +433,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.
@@ -453,8 +453,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: