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 1fb67db commit c7c7201Copy full SHA for c7c7201
1 file changed
mypyc/test-data/run-loops.test
@@ -1,7 +1,7 @@
1
# Test cases for "range" objects, "for" and "while" loops (compile and run)
2
3
[case testFor]
4
-from typing import List, Tuple
+from typing import Any, List, Tuple
5
def count(n: int) -> None:
6
for i in range(n):
7
print(i)
@@ -22,6 +22,7 @@ def tuple_iter(l: Tuple[int, ...]) -> None:
22
for i in l:
23
24
def empty_tuple_iter(l: Tuple[()]) -> None:
25
+ i: Any
26
27
28
def str_iter(l: str) -> None:
0 commit comments