You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -875,7 +875,7 @@
875
875
876
876
877
877
<ul>
878
-
<li><strong>Wraps is a helper decorator that copies metadata of function func() to function out().</strong></li>
878
+
<li><strong>Wraps is a helper decorator that copies the metadata of a passed function (func) to the function it is wrapping (out).</strong></li>
879
879
<li><strong>Without it <codeclass="python hljs"><spanclass="hljs-string">'add.__name__'</span></code> would return <codeclass="python hljs"><spanclass="hljs-string">'out'</span></code>.</strong></li>
880
880
</ul>
881
881
<div><h3id="lrucache">LRU Cache</h3><p><strong>Decorator that caches function's return values. All function's arguments must be hashable.</strong></p><pre><codeclass="python language-python hljs"><spanclass="hljs-keyword">from</span> functools <spanclass="hljs-keyword">import</span> lru_cache
0 commit comments