mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Removed redundant call of update_wrapper().
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user