Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
msempere committed Dec 17, 2014
1 parent b98949e commit 3ec692b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ python setup.py install
## Usage example

```python
from easy_cache.cache import EasyCache
from easy_cache.cache import EasyCache, Algorithm

c = EasyCache(capacity = 10, algorith = Algorith.LRU)
c = EasyCache(capacity = 10, algorith = Algorithm.LRU)
c.set('a_key', 'a_value', timeout = 3*60)
c.get('a_key') # got 'a_value'
c.get('a_key') # got 'a_value'
Expand Down

0 comments on commit 3ec692b

Please sign in to comment.