* **Potential problem with cache is that it can grow indefinitely. To clear stored values run `'fib.cache_clear()'`, or use `'@lru_cache(maxsize=<int>)'` decorator instead.**
* **Potential problem with cache is that it can grow indefinitely. To clear stored values run `'<func>.cache_clear()'`, or use `'@lru_cache(maxsize=<int>)'` decorator instead.**
* **CPython interpreter limits recursion depth to 3000 by default. To increase it run `'sys.setrecursionlimit(<int>)'`.**
* **CPython interpreter limits recursion depth to 3000 by default. To increase it run `'sys.setrecursionlimit(<int>)'`.**
@ -789,7 +789,7 @@ player = Player(point, direction) <span class="hljs-comment">#
<ul>
<ul>
<li><strong>Potential problem with cache is that it can grow indefinitely. To clear stored values run <codeclass="python hljs"><spanclass="hljs-string">'fib.cache_clear()'</span></code>, or use <codeclass="python hljs"><spanclass="hljs-string">'@lru_cache(maxsize=<int>)'</span></code> decorator instead.</strong></li>
<li><strong>Potential problem with cache is that it can grow indefinitely. To clear stored values run <codeclass="python hljs"><spanclass="hljs-string">'<func>.cache_clear()'</span></code>, or use <codeclass="python hljs"><spanclass="hljs-string">'@lru_cache(maxsize=<int>)'</span></code> decorator instead.</strong></li>
<li><strong>CPython interpreter limits recursion depth to 3000 by default. To increase it run <codeclass="python hljs"><spanclass="hljs-string">'sys.setrecursionlimit(<int>)'</span></code>.</strong></li>
<li><strong>CPython interpreter limits recursion depth to 3000 by default. To increase it run <codeclass="python hljs"><spanclass="hljs-string">'sys.setrecursionlimit(<int>)'</span></code>.</strong></li>
</ul>
</ul>
<div><h3id="parametrizeddecorator">Parametrized Decorator</h3><p><strong>A decorator that accepts arguments and returns a normal decorator that accepts a function.</strong></p><pre><codeclass="python language-python hljs"><spanclass="hljs-keyword">from</span> functools <spanclass="hljs-keyword">import</span> wraps
<div><h3id="parametrizeddecorator">Parametrized Decorator</h3><p><strong>A decorator that accepts arguments and returns a normal decorator that accepts a function.</strong></p><pre><codeclass="python language-python hljs"><spanclass="hljs-keyword">from</span> functools <spanclass="hljs-keyword">import</span> wraps
@ -2942,7 +2942,7 @@ $ deactivate <span class="hljs-comment"># Deactivates the active