diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-24 06:52:09 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-24 06:52:09 (GMT) |
| commit | 97a763d104839ed033a000fe20cbb9588f74d44b (patch) | |
| tree | 4bb4874d2c2e088fea643685ef328dce89922c2a /Lib | |
| parent | dcd1a0309f5d8a5b4cf1cb24f53bbcefd0c4f70b (diff) | |
| parent | ce2295def3948902ed6564cb67d622280bcedac8 (diff) | |
| download | cpython-97a763d104839ed033a000fe20cbb9588f74d44b.zip cpython-97a763d104839ed033a000fe20cbb9588f74d44b.tar.gz cpython-97a763d104839ed033a000fe20cbb9588f74d44b.tar.bz2 | |
Removed redundant call of update_wrapper().
Diffstat (limited to 'Lib')
| -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 |
