Browse Source

Decorator

pull/10/head
Jure Šorn 6 years ago
parent
commit
987eb50578
1 changed files with 1 additions and 1 deletions
  1. 2
      README.md

2
README.md

@ -619,7 +619,7 @@ def add(x, y):
* **Without it `'add.__name__'` would return `'out'`.**
### LRU Cache
**Decorator that caches function's return values. All arguments must be hashable.**
**Decorator that caches function's return values. All function's arguments must be hashable.**
```python
from functools import lru_cache

Loading…
Cancel
Save