From 1ad604fbbd3311f041357190796a3613c0c729d1 Mon Sep 17 00:00:00 2001 From: Jeff Triplett Date: Fri, 1 Feb 2019 11:34:54 -0600 Subject: [PATCH] :pencil: Updates my_database.py to my_database.db --- docs/python-api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/python-api.rst b/docs/python-api.rst index 1f9c6c5..0ae1bdc 100644 --- a/docs/python-api.rst +++ b/docs/python-api.rst @@ -13,9 +13,9 @@ Database objects are constructed by passing in either a path to a file on disk o from sqlite_utils import Database - db = Database("my_database.py") + db = Database("my_database.db") -This will create ``my_database.py`` if it does not already exist. You can also pass in an existing SQLite connection: +This will create ``my_database.db`` if it does not already exist. You can also pass in an existing SQLite connection: .. code-block:: python @@ -351,4 +351,4 @@ You can optimize your database by running VACUUM against it like so: .. code-block:: python - Database("my_database.py").vacuum() + Database("my_database.db").vacuum()