]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-133390: Document `SQLITE_KEYWORDS` (GH-135659)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Wed, 18 Jun 2025 10:56:49 +0000 (11:56 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Jun 2025 10:56:49 +0000 (12:56 +0200)
Doc/library/sqlite3.rst
Misc/NEWS.d/next/Library/2025-05-05-03-14-08.gh-issue-133390.AuTggn.rst

index 12761baf792a6bc6cfbfbe1bc07616a4b1e7098e..641e1f1de03a1d89f22f0450ac17e644cb1dfef7 100644 (file)
@@ -507,6 +507,15 @@ Module constants
    Version number of the runtime SQLite library as a :class:`tuple` of
    :class:`integers <int>`.
 
+.. data:: SQLITE_KEYWORDS
+
+   A :class:`tuple` containing all sqlite3 keywords.
+
+   This constant is only available if Python was compiled with SQLite
+   3.24.0 or greater.
+
+   .. versionadded:: next
+
 .. data:: threadsafety
 
    Integer constant required by the DB-API 2.0, stating the level of thread
index 38d5c311b1d4377eb66e4e7a22f4754acfd5ea1f..943e4addebcc9ebb6ac2470b030d69ad354adf9c 100644 (file)
@@ -1 +1,2 @@
-Support keyword completion in the :mod:`sqlite3` command-line interface.
+Support keyword completion in the :mod:`sqlite3` command-line interface and add
+:data:`sqlite3.SQLITE_KEYWORDS` constant.