8000 make the prime number example work · chrisirhc/bazel-mypy-integration@3c72c7a · GitHub
[go: up one dir, main page]

Skip to content

Commit 3c72c7a

Browse files
committed
make the prime number example work
python/mypy#17414
1 parent 1dc4083 commit 3c72c7a

File tree

1 file changed

+1
-1
lines changed

examples/mypy_lang_org_examples/prime_number_seive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
def iter_primes() -> Iterator[int]:
88
# An iterator of all numbers between 2 and
99
# +infinity
10-
numbers = itertools.count(2)
10+
numbers: Iterator[int] = itertools.count(2)
1111

1212
# Generate primes forever
1313
while True:

0 commit comments

Comments
 (0)
0