]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-96165: Clarify passing ":memory:" in sqlite3.connect() (GH-106451) (#106647)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Jul 2023 20:31:48 +0000 (13:31 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Jul 2023 20:31:48 +0000 (22:31 +0200)
(cherry picked from commit f520804b039df0d87fb9df6f1fed2a9bc9df8d61)

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Doc/library/sqlite3.rst

index 26f4bfd06f5bbc16e535d99ca6222114f316970f..2e2c28b1e5fe7373b7a440e0ca20ca7dfbbe4389 100644 (file)
@@ -266,8 +266,9 @@ Module functions
 
    :param database:
        The path to the database file to be opened.
-       Pass ``":memory:"`` to open a connection to a database that is
-       in RAM instead of on disk.
+       You can pass ``":memory:"`` to create an `SQLite database existing only
+       in memory <https://sqlite.org/inmemorydb.html>`_, and open a connection
+       to it.
    :type database: :term:`path-like object`
 
    :param float timeout: