diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-24 06:51:53 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-24 06:51:53 (GMT) |
commit | ce2295def3948902ed6564cb67d622280bcedac8 (patch) | |
tree | f8358b9d12b89732b105b9633b2c1acfe3e94724 /Lib/functools.py | |
parent | 45120f272b7e1840f7c760dbad1295fa3ba68eb7 (diff) | |
download | cpython-ce2295def3948902ed6564cb67d622280bcedac8.zip cpython-ce2295def3948902ed6564cb67d622280bcedac8.tar.gz cpython-ce2295def3948902ed6564cb67d622280bcedac8.tar.bz2 |
Removed redundant call of update_wrapper().
Diffstat (limited to 'Lib/functools.py')
-rw-r--r-- | Lib/functools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/functools.py b/Lib/functools.py index 06a4ff1..214523c 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 |