Fix database.py docstring
parent
3c228d161b
commit
f14fb67fd9
|
@ -6,7 +6,7 @@ Values can be anything json can store, including a dict
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
import database
|
import database
|
||||||
with database.open() as db:
|
with database.Database() as db:
|
||||||
print(db.get("hello", "default"))
|
print(db.get("hello", "default"))
|
||||||
db.set("foo", "world")
|
db.set("foo", "world")
|
||||||
db.delete("bar")
|
db.delete("bar")
|
||||||
|
|
Loading…
Reference in New Issue