summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-11 20:31:48 (GMT)
committerGitHub <noreply@github.com>2023-07-11 20:31:48 (GMT)
commite248ba7b72adad794399d7b55116862fa31471fd (patch)
treedd08bea4af673eb328521aebb6f998cedca06597 /Doc
parentbf7e92583dd33aa7e83d5929f2138c5d6957f571 (diff)
downloadcpython-e248ba7b72adad794399d7b55116862fa31471fd.zip
cpython-e248ba7b72adad794399d7b55116862fa31471fd.tar.gz
cpython-e248ba7b72adad794399d7b55116862fa31471fd.tar.bz2
[3.12] gh-96165: Clarify passing ":memory:" in sqlite3.connect() (GH-106451) (#106647)
(cherry picked from commit f520804b039df0d87fb9df6f1fed2a9bc9df8d61) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/sqlite3.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 26f4bfd..2e2c28b 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: