Merge pull request #151 from FLamparski/docs

Fix database.py docstring
master
Marek Ventur 2018-09-16 16:12:45 +01:00 committed by GitHub
commit 7716ee6056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ Values can be anything json can store, including a dict
Usage:
import database
with database.open() as db:
with database.Database() as db:
print(db.get("hello", "default"))
db.set("foo", "world")
db.delete("bar")