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