Skip to content

Commit e4835ae

Browse files
Update for_helpers.py
1 parent fcd4264 commit e4835ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/for_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ def init(
858858
assert self.stop == -1, "implement me!"
859859

860860
self.step = 1 if step is None else step
861-
assert self.step and self.step >= 1:
861+
assert self.step and self.step >= 1, "this should be unreachable for step None and step 0"
862862
if reverse:
863863
self.step *= -1
864864

0 commit comments

Comments
 (0)