diff --git a/docs/python-api.rst b/docs/python-api.rst index 40d3289..de67c1d 100644 --- a/docs/python-api.rst +++ b/docs/python-api.rst @@ -27,7 +27,7 @@ If you want to create an in-memory database, you can do so like this: .. code-block:: python - db = Database(sqlite3.connect(memory=True)) + db = Database(memory=True) Tables are accessed using the indexing operator, like so: