Removed redundant call of update_wrapper().

This commit is contained in:
Serhiy Storchaka 2015-10-24 09:52:09 +03:00
commit 97a763d104
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ def _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo):
wrapper.cache_info = cache_info wrapper.cache_info = cache_info
wrapper.cache_clear = cache_clear wrapper.cache_clear = cache_clear
return update_wrapper(wrapper, user_function) return wrapper
try: try:
from _functools import _lru_cache_wrapper from _functools import _lru_cache_wrapper