Don't raise StopIteration in generators, no longer allowed with Python 3.7. Fixes #3622
Raising StopIteration from a generator has been deprecated with Python 3.5 and is now an error with Python 3.7: https://docs.python.org/3.8/library/exceptions.html#StopIteration Just use return instead.pull/3644/head
parent
64906b0755
commit
a87496addd
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue