Skip to content

Commit

Permalink
pythongh-96165: Clarify passing ":memory:" in sqlite3.connect().
Browse files Browse the repository at this point in the history
  • Loading branch information
felixxm committed Jul 5, 2023
1 parent 9d1d4f9 commit 9dd7990
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 @@ -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:
Expand Down

0 comments on commit 9dd7990

Please sign in to comment.