1. Joe Amenta
  2. lib3to2
  3. Issues
Issue #31 invalid

Rename Py3 __next__ method to next in Py2

Anonymous created an issue

The iterator protocol has changed in Python 3 and next is used instead of next. Unless there’s already a method called next, next can be safely renamed to next. If there’s a conflict, an error should be raised.

Comments (1)

  1. Log in to comment