diff --git a/README.md b/README.md index d6aeb9f..b8208d8 100644 --- a/README.md +++ b/README.md @@ -900,7 +900,7 @@ def debug(func): def add(x, y): return x + y ``` -* **Wraps is a helper decorator that copies metadata of function add() to function out().** +* **Wraps is a helper decorator that copies metadata of function func() to function out().** * **Without it `'add.__name__'` would return `'out'`.** ### LRU Cache diff --git a/index.html b/index.html index 1d376a9..a876c1a 100644 --- a/index.html +++ b/index.html @@ -875,7 +875,7 @@ creature = Creature(Point(0, 'add.__name__' would return 'out'.

LRU Cache

Decorator that caches function's return values. All function's arguments must be hashable.

from functools import lru_cache