We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd60ff8 commit 319c3bbCopy full SHA for 319c3bb
stdlib/@tests/test_cases/check_functools.py
@@ -86,10 +86,12 @@ def check_cache(x: int) -> int:
86
def check_lru_cache(x: int) -> int:
87
return x * 2
88
89
+
90
@lru_cache(maxsize=32)
91
def check_lru_cache_with_maxsize(x: int) -> int:
92
93
94
95
assert_type(check_lru_cache(3), int)
96
assert_type(check_lru_cache_with_maxsize(3), int)
97
# Type checkers should check the argument type, but this is currently not
0 commit comments