Updated at_cache (markdown)
@@ -1,6 +1,7 @@
|
||||
# @cache
|
||||
The @cache decorator can be import with.
|
||||
´´´python
|
||||
|
||||
```python
|
||||
from functools import cache
|
||||
|
||||
@cache
|
||||
@@ -10,4 +11,4 @@ def some_loop_function():
|
||||
if i%25:
|
||||
mod25.append(i)
|
||||
return mod25
|
||||
´´´
|
||||
```
|
Reference in New Issue
Block a user