From 712bda284c0f102ba1228484701c3c7d7f09652c Mon Sep 17 00:00:00 2001 From: Lerking <33354709+Lerking@users.noreply.github.com> Date: Tue, 12 Mar 2024 08:49:26 +0100 Subject: [PATCH] Updated at_cache (markdown) --- at_cache.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/at_cache.md b/at_cache.md index 66cd332..65bd713 100644 --- a/at_cache.md +++ b/at_cache.md @@ -4,15 +4,4 @@ The @cache decorator can be import with. ```python from functools import cache -@cache -def some_loop_function(iterations = 1000): - mod25 = [] - for i in range(iterations): - if i%25: - mod25.append(i) - return mod25 - -if __name__ == "__main__": - some_loop_function() - some_loop_function(1200) ``` \ No newline at end of file