Skip to content

Commit 9f18cdf

Browse files
StanFromIrelandlkollar
authored andcommitted
pythongh-133390: Document SQLITE_KEYWORDS (pythonGH-135659)
1 parent a1826eb commit 9f18cdf

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Doc/library/sqlite3.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,15 @@ Module constants
507507
Version number of the runtime SQLite library as a :class:`tuple` of
508508
:class:`integers <int>`.
509509

510+
.. data:: SQLITE_KEYWORDS
511+
512+
A :class:`tuple` containing all sqlite3 keywords.
513+
514+
This constant is only available if Python was compiled with SQLite
515+
3.24.0 or greater.
516+
517+
.. versionadded:: next
518+
510519
.. data:: threadsafety
511520

512521
Integer constant required by the DB-API 2.0, stating the level of thread
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Support keyword completion in the :mod:`sqlite3` command-line interface.
1+
Support keyword completion in the :mod:`sqlite3` command-line interface and add
2+
:data:`sqlite3.SQLITE_KEYWORDS` constant.

0 commit comments

Comments
 (0)