Skip to content
Commit edee20ff authored by Luke Plant's avatar Luke Plant
Browse files

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.
parent 023b7041
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment