Skip to content

Commit

Permalink
[3.12] pythongh-96165: Clarify passing ":memory:" in sqlite3.connect() (
Browse files Browse the repository at this point in the history
pythonGH-106451) (python#106647)

(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 bf7e925 commit e248ba7
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 e248ba7

Please sign in to comment.