[Python-checkins] gh-96165: Clarify passing ":memory:" in sqlite3.connect() (#106451)
erlend-aasland
webhook-mailer at python.org
Tue Jul 11 16:18:23 EDT 2023
https://github.com/python/cpython/commit/f520804b039df0d87fb9df6f1fed2a9bc9df8d61
commit: f520804b039df0d87fb9df6f1fed2a9bc9df8d61
branch: main
author: Mariusz Felisiak <felisiak.mariusz at gmail.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2023-07-11T22:18:19+02:00
summary:
gh-96165: Clarify passing ":memory:" in sqlite3.connect() (#106451)
files:
M Doc/library/sqlite3.rst
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index f6a8714519f59..356888d64b887 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -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:
More information about the Python-checkins
mailing list