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 fcd4264 commit e4835aeCopy full SHA for e4835ae
mypyc/irbuild/for_helpers.py
@@ -858,7 +858,7 @@ def init(
858
assert self.stop == -1, "implement me!"
859
860
self.step = 1 if step is None else step
861
- assert self.step and self.step >= 1:
+ assert self.step and self.step >= 1, "this should be unreachable for step None and step 0"
862
if reverse:
863
self.step *= -1
864
0 commit comments