Browse Source

Decorator

pull/10/head
Jure Šorn 5 years ago
parent
commit
0def444901
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -622,7 +622,7 @@ def add(x, y):
```
### LRU Cache
**Decorator that caches function's return values.**
**Decorator that caches function's return values. All arguments must be hashable.**
```python
@lru_cache(maxsize=None)
def fib(n):

Loading…
Cancel
Save