diff --git a/docs/source/usage.rst b/docs/source/usage.rst index 8aeee1e..4aa87ae 100644 --- a/docs/source/usage.rst +++ b/docs/source/usage.rst @@ -26,7 +26,7 @@ Basic functionality from ptvp35 import DbFactory, KVJson async def main(): - async with DbFactory(pathlib.Path('example.db', kvfactory=KVJson())) as connection: + async with DbFactory(pathlib.Path('example.db'), kvfactory=KVJson()) as connection: await _main(connection) Different ways to get/set a value: