Corrected Database(memory=True) documentation

This commit is contained in:
Simon Willison 2019-12-18 09:00:36 +00:00 committed by GitHub
commit 9262c3e7c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: