Skip to content

Commit d040709

Browse files
committed
update readme
1 parent d7e117c commit d040709

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def func(**kwargs):
162162
... def f(x): return x
163163
...
164164
>>> f.cache_info()
165-
CacheInfo(hits=0, misses=0, current_size=0, max_size=None, algorithm=<CachingAlgorithmFlag.LRU: 2>, ttl=None, thread_safe=True)
165+
CacheInfo(hits=0, misses=0, current_size=0, max_size=None, algorithm=<CachingAlgorithmFlag.LRU: 2>, ttl=None, thread_safe=True, order_independent=False)
166166
```
167167

168168
With ```cache_info```, you can retrieve the number of ```hits``` and ```misses``` of the cache, and other information indicating the caching status.
@@ -174,6 +174,7 @@ With ```cache_info```, you can retrieve the number of ```hits``` and ```misses``
174174
- `algorithm`: caching algorithm (user-specified)
175175
- `ttl`: Time-To-Live value (user-specified)
176176
- `thread_safe`: whether the cache is thread safe (user-specified)
177+
- `order_independent`: whether the cache is kwarg-order-independent (user-specified)
177178

178179
### Other APIs
179180

0 commit comments

Comments
 (0)