mirror of https://github.com/python/cpython.git
[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:
parent
6d8662381d
commit
247f0500b8
|
@ -265,8 +265,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:
|
||||
|
|
Loading…
Reference in New Issue