diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-07-11 20:18:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-11 20:18:19 (GMT) |
commit | f520804b039df0d87fb9df6f1fed2a9bc9df8d61 (patch) | |
tree | e095719e67e4065b4fb8753e71ade23525da7c5e /Doc/library | |
parent | fc7ff1af457e27b7d9752600b3436641be90f598 (diff) | |
download | cpython-f520804b039df0d87fb9df6f1fed2a9bc9df8d61.zip cpython-f520804b039df0d87fb9df6f1fed2a9bc9df8d61.tar.gz cpython-f520804b039df0d87fb9df6f1fed2a9bc9df8d61.tar.bz2 |
gh-96165: Clarify passing ":memory:" in sqlite3.connect() (#106451)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/sqlite3.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index f6a8714..356888d 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: |