Skip to content

Commit bcc6636

Browse files
committed
[mypy] fix type annotations for project euler problem101/sol1
1 parent 731d73f commit bcc6636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project_euler/problem_101/sol1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def solution(func: Callable[[int], int] = question_function, order: int = 10) ->
202202
]
203203

204204
ret: int = 0
205-
poly: int
205+
poly: Callable[[int], int]
206206
x_val: int
207207

208208
for poly in polynomials:

0 commit comments

Comments
 (0)