Skip to content

Commit ce2295d

Browse files
Removed redundant call of update_wrapper().
1 parent 45120f2 commit ce2295d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/functools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def cache_clear():
536536

537537
wrapper.cache_info = cache_info
538538
wrapper.cache_clear = cache_clear
539-
return update_wrapper(wrapper, user_function)
539+
return wrapper
540540

541541
try:
542542
from _functools import _lru_cache_wrapper

0 commit comments

Comments
 (0)