Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't raise StopIteration in generators, no longer allowed with Pytho…
…n 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.
- Loading branch information