projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45120f2
)
Removed redundant call of update_wrapper().
author
Serhiy Storchaka
<storchaka@gmail.com>
Sat, 24 Oct 2015 06:51:53 +0000
(09:51 +0300)
committer
Serhiy Storchaka
<storchaka@gmail.com>
Sat, 24 Oct 2015 06:51:53 +0000
(09:51 +0300)
Lib/functools.py
patch
|
blob
|
history
diff --git
a/Lib/functools.py
b/Lib/functools.py
index 06a4ff13664df0925aa4f9fc07c609752274b977..214523cbc24cfccc9fc74116153ec87cce097491 100644
(file)
--- 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