mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-28 21:45:09 +08:00
36f8b77290
Python 3 uses the `__next__` method instead of `next`, and uses the syntax of `next(foo)` accordingly. Add `__next__` and `next` side-by-side so both Python 2 and 3 have a method that can be used during iteration.