]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-96165: Clarify passing ":memory:" in sqlite3.connect() (#106451)
authorMariusz Felisiak <felisiak.mariusz@gmail.com>
Tue, 11 Jul 2023 20:18:19 +0000 (22:18 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Jul 2023 20:18:19 +0000 (22:18 +0200)
Doc/library/sqlite3.rst

index f6a8714519f59f282b444976e994cc322d1622c2..356888d64b88762ac1a96d865a71f26715f9812b 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: