Skip to content

Commit 94fa9d0

Browse files
committed
Decorator
1 parent 6598945 commit 94fa9d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,8 @@ CacheInfo(hits=28, misses=16, maxsize=None, currsize=16)
642642

643643
### Parametrized Decorator
644644
```python
645+
from functools import wraps
646+
645647
def debug(print_result=False):
646648
def decorator(func):
647649
@wraps(func)

0 commit comments

Comments
 (0)