From: Serhiy Storchaka Date: Sat, 24 Oct 2015 06:51:53 +0000 (+0300) Subject: Removed redundant call of update_wrapper(). X-Git-Tag: v3.5.1rc1~129 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce2295def3948902ed6564cb67d622280bcedac8;p=thirdparty%2FPython%2Fcpython.git Removed redundant call of update_wrapper(). --- diff --git a/Lib/functools.py b/Lib/functools.py index 06a4ff13664d..214523cbc24c 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