Reverted part of 169b1a40 which was mistakenly applied to a non-iterator class.
Doing next(IfParser()) works for Python 2.7, because it calls IfParser.next(), but in Python 3 will call IfParser.__next__() which does not work since it is not an iterator and does not have that method.
Loading
Please register or sign in to comment