From 0d1d572b429ccead4b7263d80c362bc80e7954da Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 11 Jul 2023 22:18:19 +0200 Subject: [PATCH] gh-96165: Clarify passing ":memory:" in sqlite3.connect() (GH-106451) (cherry picked from commit f520804b039df0d87fb9df6f1fed2a9bc9df8d61) Co-authored-by: Mariusz Felisiak --- Doc/library/sqlite3.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index c99c01b0e5c798..d1c29b500e590f 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -265,8 +265,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 `_, and open a connection + to it. :type database: :term:`path-like object` :param float timeout: