Skip to content

Commit f520804

Browse files
authored
gh-96165: Clarify passing ":memory:" in sqlite3.connect() (#106451)
1 parent fc7ff1a commit f520804

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
@@ -266,8 +266,9 @@ Module functions
266266

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

273274
:param float timeout:

0 commit comments

Comments
 (0)