From 94fa9d0e286c1212f3ac07883219d1855ce4f1f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 29 Jan 2019 15:53:04 +0100 Subject: [PATCH] Decorator --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2c4f659..a0c9e04 100644 --- a/README.md +++ b/README.md @@ -642,6 +642,8 @@ CacheInfo(hits=28, misses=16, maxsize=None, currsize=16) ### Parametrized Decorator ```python +from functools import wraps + def debug(print_result=False): def decorator(func): @wraps(func)