Skip to content

Commit

Permalink
[3.11] gh-96165: Clarify passing ":memory:" in sqlite3.connect() (GH-…
Browse files Browse the repository at this point in the history
…106451) (#106648)

cherry picked from commit f520804)

Co-authored-by: Mariusz Felisiak <[email protected]>
  • Loading branch information
miss-islington and felixxm authored Jul 11, 2023
1 parent 6d86623 commit 247f050
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 247f050

Please sign in to comment.