Commit acea424
Scott Sanderson
BUG: Use break instead of StopIteration to end loop.
Raising StopIteration from inside a generator isn't allowed from Python 3.7
onward.1 parent 7ab8e1a commit acea424
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments