diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-07-27 08:05:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-27 08:05:50 (GMT) |
commit | 0d812a58a79ea1520223e3539393d190503dedcf (patch) | |
tree | a47282b0c242bf4151827e964d3bb6a80824f653 | |
parent | 820904eab21d6adb4380ef27859dad22188805be (diff) | |
download | cpython-0d812a58a79ea1520223e3539393d190503dedcf.zip cpython-0d812a58a79ea1520223e3539393d190503dedcf.tar.gz cpython-0d812a58a79ea1520223e3539393d190503dedcf.tar.bz2 |
gh-94635: Add sqlite3 'Introduction' and 'Tutorial' doc headings (GH-95269) (GH-95304)
(cherry picked from commit 2e35a13e46663acf665da06267c54e66c7ecf18d)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
-rw-r--r-- | Doc/library/sqlite3.rst | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 392487e..5969cbb 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -8,7 +8,11 @@ **Source code:** :source:`Lib/sqlite3/` --------------- + +.. _sqlite3-intro: + +Introduction +------------ SQLite is a C library that provides a lightweight disk-based database that doesn't require a separate server process and allows accessing the database @@ -21,6 +25,12 @@ The sqlite3 module was written by Gerhard Häring. It provides an SQL interface compliant with the DB-API 2.0 specification described by :pep:`249`, and requires SQLite 3.7.15 or newer. + +.. _sqlite3-tutorial: + +Tutorial +-------- + To use the module, start by creating a :class:`Connection` object that represents the database. Here the data will be stored in the :file:`example.db` file:: |