From ce2295def3948902ed6564cb67d622280bcedac8 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 24 Oct 2015 09:51:53 +0300 Subject: [PATCH] Removed redundant call of update_wrapper(). --- Lib/functools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/functools.py b/Lib/functools.py index 06a4ff13664..214523cbc24 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -536,7 +536,7 @@ def _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo): wrapper.cache_info = cache_info wrapper.cache_clear = cache_clear - return update_wrapper(wrapper, user_function) + return wrapper try: from _functools import _lru_cache_wrapper