Commit 4e9bc0bd authored by Serhiy Storchaka's avatar Serhiy Storchaka

Removed redundant call of update_wrapper().

parent a529bc0a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment