[Python-checkins] [3.10] gh-94622: Add more references to the sqlite3 types anchor (GH-94623). (#94679)

erlend-aasland webhook-mailer at python.org
Thu Jul 7 20:50:23 EDT 2022


https://github.com/python/cpython/commit/691d26a17fc376f17f22b499fd6e887ac859b162
commit: 691d26a17fc376f17f22b499fd6e887ac859b162
branch: 3.10
author: Erlend Egeberg Aasland <erlend.aasland at protonmail.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2022-07-08T02:50:12+02:00
summary:

[3.10] gh-94622: Add more references to the sqlite3 types anchor (GH-94623). (#94679)

(cherry picked from commit e5b841a4037d1c2ce3d12a584facf800ae36332a)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland at protonmail.com>

files:
M Doc/library/sqlite3.rst

diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index e666b69e4490b..7030059609ff9 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -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:
 



More information about the Python-checkins mailing list