[3.11] gh-96165: Clarify passing ":memory:" in sqlite3.connect() (GH-106451) (#106648)

cherry picked from commit f520804b03)

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
Miss Islington (bot) 2023-07-11 13:32:08 -07:00 committed by GitHub
parent 6d8662381d
commit 247f0500b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -265,8 +265,9 @@ Module functions
:param database: :param database:
The path to the database file to be opened. The path to the database file to be opened.
Pass ``":memory:"`` to open a connection to a database that is You can pass ``":memory:"`` to create an `SQLite database existing only
in RAM instead of on disk. in memory <https://sqlite.org/inmemorydb.html>`_, and open a connection
to it.
:type database: :term:`path-like object` :type database: :term:`path-like object`
:param float timeout: :param float timeout: