summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-10-24 09:52:09 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2015-10-24 09:52:09 +0300
commit97a763d104839ed033a000fe20cbb9588f74d44b (patch)
tree4bb4874d2c2e088fea643685ef328dce89922c2a
parentdcd1a0309f5d8a5b4cf1cb24f53bbcefd0c4f70b (diff)
parentce2295def3948902ed6564cb67d622280bcedac8 (diff)
downloadcpython-git-97a763d104839ed033a000fe20cbb9588f74d44b.tar.gz
Removed redundant call of update_wrapper().
-rw-r--r--Lib/functools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/functools.py b/Lib/functools.py
index 06a4ff1366..214523cbc2 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