From 5019ae3f7f244701677ae757db6bf2e97258df18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Mon, 18 Feb 2019 13:54:05 +0100 Subject: [PATCH] Decorator --- README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/README.md b/README.md index c9e71f5..a8e3f6e 100644 --- a/README.md +++ b/README.md @@ -635,13 +635,6 @@ def fib(n): return n if n < 2 else fib(n-1) + fib(n-2) ``` -```python ->>> [fib(n) for n in range(10)] -[0, 1, 1, 2, 3, 5, 8, 13, 21, 34] ->>> fib.cache_info() -CacheInfo(hits=16, misses=10, maxsize=None, currsize=10) -``` - ### Parametrized Decorator ```python from functools import wraps