Skip to content

Commit

Permalink
Fix typos in example codes (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wattyyy authored Jul 22, 2024
1 parent e8162bf commit b617fe2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ PyPi is not used for CaskDB yet ([issue #5](https://github.com/avinassh/py-caskd
## Usage

```python
disk: DiskStorage = DiskStore(file_name="books.db")
disk: DiskStorage = DiskStorage(file_name="books.db")
disk.set(key="othello", value="shakespeare")
author: str = disk.get("othello")
# it also supports dictionary style API too:
Expand Down
2 changes: 1 addition & 1 deletion src/caskdb/disk_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Typical usage example:
disk: DiskStorage = DiskStore(file_name="books.db")
disk: DiskStorage = DiskStorage(file_name="books.db")
disk.set(key="othello", value="shakespeare")
author: str = disk.get("othello")
# it also supports dictionary style API too:
Expand Down

0 comments on commit b617fe2

Please sign in to comment.