Skip to content

Commit 247f050

Browse files
[3.11] gh-96165: Clarify passing ":memory:" in sqlite3.connect() (GH-106451) (#106648)
cherry picked from commit f520804) Co-authored-by: Mariusz Felisiak <[email protected]>
1 parent 6d86623 commit 247f050

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/sqlite3.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,9 @@ Module functions
265265

266266
:param database:
267267
The path to the database file to be opened.
268-
Pass ``":memory:"`` to open a connection to a database that is
269-
in RAM instead of on disk.
268+
You can pass ``":memory:"`` to create an `SQLite database existing only
269+
in memory <https://sqlite.org/inmemorydb.html>`_, and open a connection
270+
to it.
270271
:type database: :term:`path-like object`
271272

272273
:param float timeout:

0 commit comments

Comments
 (0)